基金项目:国家社会科学基金项目(19BTQ005)收稿日期:2021-05-21修回日期:2021-06-07第40卷第4期计算机仿真2023年4月文章编号:1006-9348(2023)04-0509-05多特征感知情感分析模型袁勋1,刘蓉1,刘明2(1.华中师范大学物理科学与技术学院,湖北武汉430079;2.华中师范大学计算机学院,湖北武汉430079)摘要:情感分析旨在对带有情感色彩的主观性文本进行分析和总结,针对现有的情感分析研究存在语料特征提取不足等问题,提出了一种基于BERT的多特征感知情感分析模型。首先,将情感文本输入BERT进行语料编码,然后使用多个卷积核提取编码文本片段的局部特征设计了局部特征层,再对编码文本进行降采样操作构造全局特征层,通过融合局部特征层与全局特征层得到多特征感知网络,从而增强情感语料间的信息关联。实验表明,所设计的多特征感知情感分析模型是有效的。关键词:自然语言处理;情感分析;多特征感知;特征融合中图分类号:TP183文献标识码:BMulti-FeaturePerceptionSentimentAnalysisModelYUANXun1,LIURong1,LIUMing2(1.CollegeofPhysicalScienceandTechnology,CentralChinaNormalUniversity,WuhanHubei430079,China;2.SchoolofComputer,CentralChinaNormalUniversity,HubeiWuhanHubei430079,China)ABSTRACT:Sentimentanalysisaimstoanalyzeandsummarizesubjectivetextswithemotionalcolors.Aimingattheproblemsofinsufficientcorpusfeatureextractioninexistingsentimentanalysisresearch,aBERT-basedmulti-featureperceptionsentimentanalysismodelisproposed.First,theemotionaltextwasinputintoBERTforcorpusen-coding,andthenmultipleconvolutionoperationswereusedtoextractthelocalfeaturesoftheshorttexttodesignalo-calfeaturelayer,andthentheencodedtextwasdown-sampledtoconstructaglobalfeaturelayer.Byfusingthelocalfeaturelayerandtheglobalfeature,themulti-featureperceptionnetworkwasobtained,therebyenhancingtheinfor-mationassociationbetweenemotionalcorpus.Experimentsshowthatthemulti-featureperceptualsentimentanalysismodeldesignedinthispaperiseffective.KEYWORDS:Naturallanguageprocessing;Sentimentanalysis;Multi-featureperception;Featurefusion1引言随着科学技术的飞速发展,移动互联网已成为人们日常生活中密不可分的一部分,文本数据因其容易编辑、表达简单、存储空间占比小等优点在互联网上的应用最广,如何对这些数据进行分...