nav emailalert searchbtn searchbox tablepage yinyongbenwen piczone journalimg journalInfo journalinfonormal searchdiv searchzone qikanlogo popupnotification paper paperNew
2024, 03, v.45 233-240
基于电影评论文本的LSTM情感分析
基金项目(Foundation): 国家自然科学基金项目(11901053); 吉林省自然科学基金项目(20220101038JC)
邮箱(Email): dongxiaogang@ccut.edu.cn.;
DOI: 10.15923/j.cnki.cn22-1382/t.2024.3.06
发布时间: 2024-06-15
出版时间: 2024-06-15
移动端阅读
摘要:

首先使用CBOW算法对通过Python爬取的评论进行了高效且低维的向量表示,然后采用LSTM模型对这些向量进行训练。通过实验对比了LSTM模型与朴素贝叶斯、决策树、随机森林以及RNN在预测能力方面的表现,并提供了全面的模型比较。实验结果表明,LSTM模型的准确率更高,具有一定的适用性。

Abstract:

In this paper, the CBOW algorithm is first used to make efficient and low-dimensional vector representations of comments crawled by Python, and then these vectors are trained using the LSTM model. This paper also compares the performance of the LSTM model with Naive Bayes, decision trees, random forests, and RNN in terms of predictive ability through experiments. The paper is rigorously structured. A comprehensive model comparison is provided. Experimental results show that the LSTM model has higher accuracy and has certain applicability.

参考文献

[1] 王仁武,宋家怡,陈川宝.基于Word2vec的情感分析在品牌认知中的应用研究[J].图书情报工作,2017,61(22):6-12.

[2] Mikolov T,Sutskever I,Chen K,et al.Distributed representations of words and phrases and their compositionality[J].Advances in Neural Information Processing Systems,2013(26):3111-3119.

[3] 王名扬,吴欢,贾晓婷.结合word2vec与扩充情感词典的微博多元情感分类研究[J].东北师大学报:自然科学版,2019,51(1):55-62.

[4] 胡婧,刘伟,马凯.基于机器学习的高血压病历文本分类[J].科学技术与工程,2019,19(33):296-301.

[5] Kim Y.Convolutional neural networks for sentence classification[J].arXiv preprint arXiv:1408.5882,2014.

[6] Rhanoui M,Mikram M,Yousfi S,et al.A CNN-BiLSTM model for document-level sentiment analysis[J].Machine Learning and Knowledge Extraction,2019,1(3):832-847.

[7] 李文亮,杨秋翔,秦权.多特征混合模型文本情感分析方法[J].计算机工程与应用,2021,57(19):205-213.

[8] 李井辉,孙丽娜,李晶.基于LSTM的评论文本情感分析方法研究[J].微型电脑应用,2020,36(5):1-4.

[9] Hochreiter S,Schmidhuber J.Long short-term memory[J].Neural Computation,1997,9(8):1735-1780.

[10] 赵星宇,何浩,范双南,等.一种融合双向LSTM和CNN的混合情感分析模型[J].湘潭大学学报:自然科学版,2021,43(4):69-76.

[11] 陈平平,耿笑冉,邹敏,等.基于机器学习的文本情感倾向性分析[J].计算机与现代化,2020(3):77-81,92.

[12] 曾蒸,李莉,陈晶.用于情感分类的双向深度LSTM[J].计算机科学,2018,45(8):213-217,252.

[13] 邢长征,李珊.文本情感分析的深度学习方法[J].计算机应用与软件,2018,35(8):102-106.

基本信息:

DOI:10.15923/j.cnki.cn22-1382/t.2024.3.06

中图分类号:TP391.1

引用信息:

[1]刘晏男,杨凯,董小刚.基于电影评论文本的LSTM情感分析[J].长春工业大学学报,2024,45(03):233-240.DOI:10.15923/j.cnki.cn22-1382/t.2024.3.06.

基金信息:

国家自然科学基金项目(11901053); 吉林省自然科学基金项目(20220101038JC)

发布时间:

2024-06-15

出版时间:

2024-06-15

检 索 高级检索

引用

GB/T 7714-2015 格式引文
MLA格式引文
APA格式引文