《计算机应用》唯一官方网站

• •    下一篇

融合强关联依赖和简洁语法的方面级情感分析

柯添赐1,刘建华2,孙水华3,郑智雄1,蔡子杰1   

  1. 1. 福建工程学院
    2. 福建工程学院 信息科学与工程学院
    3. 福建工程学院计算机科学与信息学院
  • 收稿日期:2023-05-23 修回日期:2023-08-14 发布日期:2023-08-25 出版日期:2023-08-25
  • 通讯作者: 刘建华
  • 基金资助:
    国家自然科学基金;福建工程学院发展基金

Aspect-level sentiment analysis combining strong association dependence and concise syntax

  • Received:2023-05-23 Revised:2023-08-14 Online:2023-08-25 Published:2023-08-25
  • Contact: jianhua jianhuaLiu

摘要: 摘 要: 针对语法依赖树存在多个方面词相互干扰的依赖信息、无效单词与标点符号所带来的冗余信息以及方面词与对应情感词之间的关联性较弱等问题,提出了融合强关联依赖和简洁语法的方面级情感分析模型;首先,构建情感词性列表,通过该列表加强方面词与对应情感的相关性;其次,构建融合词性和依赖关系的联合列表,通过该联合列表去除已优化的依赖树无效单词与标点符号的冗余信息;再次,将其与图注意力网络结合建模提取上下文特征信息;最后,与依赖关系类型的特征信息进行交互学习并融合特征,增强特征表示,最终使得分类器能高效预测每个方面词的情感极性。该模型在4个公开数据集上进行实验分析,与结合了依赖树语法的经典模型CDT相比,所提模型的预测准确率和Macro-F1值平均提高了3.88%和4.82%。实验结果表明,所提模型能够有效提高方面词与情感词的联系,使方面词情感极性的预测更准确。

关键词: 方面级情感分析, 依赖关系, 词性, 语法依赖树, 图注意力网络

Abstract: In response to several issues related to the interference of multiple aspect words in the grammar dependency tree, redundant information caused by invalid words and punctuation marks, as well as weak correlations between aspect words and corresponding sentiment words, a fused aspect-level sentiment analysis model is proposed, which combines strong correlated dependencies and concise grammar. Firstly, the model constructs a sentiment part-of-speech (POS) list to enhance the relevance between aspect words and corresponding sentiments. Then, a combined list incorporating POS and dependency relationships is constructed to eliminate redundant information of invalid words and punctuation marks in the optimized dependency tree. Next, the model combines this information with a graph attention network to model and extract contextual features. Finally, it interacts with the feature information of dependency relationship types, learns and fuses the features, and enhances the feature representation, enabling the classifier to efficiently predict the sentiment polarity of each aspect word. The proposed model is experimented and analyzed on four public datasets. Compared to the classical model CDT, which incorporates dependency tree grammar, the proposed model achieves an average improvement of 3.88% in prediction accuracy and 4.82% in Macro-F1 score. Experimental results demonstrate that the proposed model effectively enhances the connection between aspect words and sentiment words, resulting in more accurate prediction of aspect word sentiment polarity.

Key words: aspect-level sentiment analysis, dependency relationship, part-of-speech, syntactic dependency tree, graph attention network

中图分类号: