[1]ZHANG Mingquan,ZHOU Hui,CAO Jingang.Dual BERT directed sentiment text classification based on attention mechanism[J].CAAI Transactions on Intelligent Systems,2022,17(6):1220-1227.[doi:10.11992/tis.202112038]
Copy
CAAI Transactions on Intelligent Systems[ISSN 1673-4785/CN 23-1538/TP] Volume:
17
Number of periods:
2022 6
Page number:
1220-1227
Column:
学术论文—自然语言处理与理解
Public date:
2022-11-05
- Title:
-
Dual BERT directed sentiment text classification based on attention mechanism
- Author(s):
-
ZHANG Mingquan1; 2; ZHOU Hui1; 2; CAO Jingang1; 2
-
1. School of Control and Computer Engineering, North China Electric Power University, Baoding 071003, China;
2. Intelligent Computing of Complex Energy System Engineering Research Center of the Ministry of Education, North China Electric Power University, Baoding 071003, China
-
- Keywords:
-
sentiment analysis; bidirectional encoder representation from transform neural network; pretraining model; attention mechanism; deep learning; machine learning; text classification; neural network
- CLC:
-
TP391
- DOI:
-
10.11992/tis.202112038
- Abstract:
-
Understanding the emotional relationships between different political entities in political news texts is a new research topic in the text classification field in computational social science. Traditional methods of sentiment analysis cannot be applied to political news texts because they do not consider the direction of emotional expression between entities. This study proposes a dual BERT-directed sentiment text classification model based on the attention mechanism, which consists of four modules: input module, sentiment analysis module, political entity direction module, and classification module. The structure of the sentiment analysis module and the political entity direction module are identical. Both employ the BERT pretraining model to embed the input information, a three-layer neural network to extract the emotional information or emotional direction information between entities, and an attention mechanism to combine these two kinds of information to classify political news texts. Experiments on comparable data sets show that the model outperforms existing models.