基于情感词典与语义规则集的微博文本情感分析
Sentiment Analysis of Microblog Text Based on Sentiment Dictionary and Semantic Rule Set
DOI: 10.12677/CSA.2023.134074, PDF,  被引量   
作者: 王伟贤, 吴 俊:扬州大学信息工程学院,江苏 扬州
关键词: 情感分析微博文本情感词典规则集Sentiment Analysis Microblog Text Sentiment Dictionary Rule Set
摘要: 近年来,以微博为代表的中文媒体平台正在不断融入人们的生活,人们每天都在这些平台上发表自己的观点、感受等其他主观信息,如何从这些信息中提取有价值的情感信息并加以利用就称作情感分析。本文提出了一种基于情感词典与语义规则集的微博文本情感分析方法。我们的方法将现有的多个基础情感词典结合起来,并基于统计信息的方法构建了微博领域情感词典,同时考虑到中文的语义特性,加入了自定义的语义规则集。为了验证该方法的有效性,我们通过网络爬虫技术获取微博中关于新冠肺炎的评论信息共10万条微博文本,在此数据集上进行了实验。实验结果表明,与传统的基于情感词典的方法相比,我们的方法具有更高的准确性和更稳定的表现,正面、负面和中性情感识别准确率分别达到了79.4%、82.5%、77.3%。综上所述,本文提出的基于情感词典与语义规则集的微博文本情感分析方法具有较高的准确性和泛化能力,能够有效地识别微博文本中的情感,并具有应用价值。
Abstract: In recent years, Chinese media platforms represented by microblog have been increasingly integrated into people’s lives. People express their views, feelings and other subjective information on these platforms every day. How to extract valuable sentimental information from this information and make use of it is called sentiment analysis. In this paper, a sentiment analysis method based on sentiment dictionary and semantic rule set is proposed. Our method combines several existing basic sentiment dictionaries and constructs a microblog domain sentiment dictionary based on statistical information. At the same time, considering the semantic characteristics of Chinese language, we add a custom semantic rule set. In order to verify the effectiveness of this method, we used web crawler technology to obtain a total of 100,000 microblog comments on COVID-19, and conducted experiments on this data set. The experimental results show that compared with the traditional sentiment dictionary-based method, our method has higher accuracy and more stable performance, and the accuracy rate of positive, negative and neutral sentiment recognition reaches 79.4%, 82.5% and 77.3%, respectively. In conclusion, the sentiment analysis method based on sentiment diction-ary and semantic rule set proposed in this paper has high accuracy and generalization ability, and can effectively identify the sentiment in microblog, and has application value.
文章引用:王伟贤, 吴俊. 基于情感词典与语义规则集的微博文本情感分析[J]. 计算机科学与应用, 2023, 13(4): 754-763. https://doi.org/10.12677/CSA.2023.134074

参考文献

[1] 高雅, 苏艳, 席方园. 基于Python的新浪微博用户数据采集与分析[J]. 电子设计工程, 2019, 27(20): 157-160+165.
[2] Mohammad, S.M., Kiritchenko, S. and Zhu, X. (2013) NRC-Canada: Building the State-of-the-Art in Sentiment Analysis of Tweets. ArXiv: 1308.6242.
[3] Mohammad, S.M. and Turney, P.D. (2013) Crowdsourcing a Word-Emotion Association Lexicon. Computational Intelligence, 29, 436-465. [Google Scholar] [CrossRef
[4] Devlin, J., Chang, M.W., Lee, K., et al. (2018) BERT: Pre-Training of Deep Bidirectional Transformers for Language Understanding. ArXiv: 1810.04805.
[5] Yang, Z., Dai, Z., Yang, Y., et al. (2019) XLNet: Generalized Autoregressive Pretraining for Language Understanding. Proceedings of the 33rd International Conference on Neural Information Processing Systems, Vancouver, 8-14 December 2019, 5753-5763.
[6] 朱嫣岚, 闵锦, 周雅倩, 等. 基于HowNet的词汇语义倾向计算[J]. 中文信息学报, 2006, 20(1): 14-20.
[7] 王素格, 李德玉, 魏英杰, 等. 基于同义词的词汇情感倾向判别方法[J]. 中文信息学报, 2009, 23(5): 68-74.
[8] 刘龙飞, 杨亮, 张绍武, 等. 基于卷积神经网络的微博情感倾向性分析[J]. 中文信息学报, 2015, 29(6): 159-165.
[9] 姜杰, 夏睿. 机器学习与语义规则融合的微博情感分类方法[J]. 北京大学学报(自然科学版), 2017, 53(2): 247-254.
[10] 凌海彬. 基于多特征融合的微博情感分析研究[D]: [硕士学位论文]. 桂林: 桂林电子科技大学, 2019.
[11] 王婷, 杨文忠. 文本情感分析方法研究综述[J]. 计算机工程与应用, 2021, 57(12): 11-24.
[12] 吴杰胜, 陆奎. 基于多部情感词典和规则集的中文微博情感分析研究[J]. 计算机应用与软件, 2019, 36(9): 93-99.
[13] 谈光璞, 朱广丽, 韦斯羽. 基于情感特征增强的中文隐式情感分类模型[EB/OL]. 计算机工程与应用: 1-13. http://kns.cnki.net/kcms/detail/11.2127.TP.20221128.0932.010.html, 2022-11-18.
[14] 曹东伟, 李邵梅, 陈鸿昶, 等. 融合情感特征的虚假评论检测方法[J]. 信息工程大学学报, 2021, 22(3): 326-330.
[15] 徐康庭, 宋威. 结合语言知识和深度学习的中文文本情感分析方法[J]. 大数据, 2022, 8(3): 115-127.
[16] 周志华. 机器学习[M]. 北京: 清华大学出版社, 2016.