Frontiers of Data and Computing ›› 2023, Vol. 5 ›› Issue (4): 101-111.

CSTR: 32002.14.jfdc.CN10-1649/TP.2023.04.009

doi: 10.11871/jfdc.issn.2096-742X.2023.04.009

• Technology and Application • Previous Articles     Next Articles

A Dual-Channel Sentiment Analysis Model Integrating Sentiment Lexcion and Self-Attention

JU Jiaji(),HUANG Bo*(),ZHANG Shuai,GUO Ruyan   

  1. School of Electrical and Electronic Engineering, Shanghai University of Engineering and Technology, Shanghai 201620, China
  • Received:2022-02-28 Online:2023-08-20 Published:2023-08-23

Abstract:

[Application Background] For the task of sentiment analysis in natural language processing, current deep learning methods are based on big data training to gradually improve the effect, and do not fully exploit the information of sentiment words in the text. [Methods] This paper proposes a dual-channel text sentiment analysis model that integrates sentiment lexicon and attention mechanism. The channel based on self-attention is responsible for extracting semantic features, and the channel based on emotional attention is to extract emotional features, and the features extracted by the two channels are fused to obtain the final vector representation of the text. A soft constraint of attention is also introduced to balance the attention in both channels. [Results] The experimental results show that the dual-channel structure can focus on different features of the text separately, and the combination of semantic and sentiment features significantly improves the sentiment classification performance of the model. The model also has better interpretability due to the integration of the sentiment lexicon. [Conclusions] The sentiment analysis model proposed in this paper has better performance and interpretability compared with related models.

Key words: deep learning, lexicon, text sentiment analysis, dual channel, attention