基于BERT模型的微博文本细粒度情感分析OA
Fine-grained Sentiment Analysis of Weibo Text Based on BERT Model
随着社交媒体的快速发展,微博作为用户信息交流与情感表达的重要平台,积累了海量丰富的文本数据.文章在调研微博情感分析相关技术的基础上,提出一种基于BERT模型的细粒度情感分析方法,结合微博数据抓取与预处理技术,构建了高效的分析框架.该方法通过微博开放API完成数据采集,利用BERT预训练模型实现文本向量化,并依托Transformer架构完成愤怒、高兴、中性、惊讶、悲伤、恐惧六类情绪的精准分类;同时引入情感词典与数据增强技术提升模型性能,借助可视化工具展示分析结果.研究表明,该方法在SMP2020数据集上取得了较高的分类精度,为微博文本细粒度情感分析提供了新思路.
With the rapid development of social media,Weibo,as an important platform for user information exchange and emotion expression,accumulates massive and rich text data.Based on the investigation of related technologies for Weibo sentiment analysis,this paper proposes a fine-grained sentiment analysis method based on the BERT model.Combining Weibo data crawling and preprocessing technologies,this paper constructs an efficient analysis framework.This method completes data collection through the Weibo Open API,utilizes the BERT pre-training model to realize text vectorization,and completes the precise classification of six emotions including anger,happiness,neutral,surprise,sadness,and fear based on the Transformer architecture.Meanwhile,this paper introduces sentiment dictionaries and data augmentation technologies to improve model performance,and displays analysis results by means of visualization tools.The study shows that this method achieves high classification accuracy on the SMP2020 dataset and provides a new idea for fine-grained sentiment analysis of Weibo text.
张逸民;李野
上海杉达学院 信息科学与技术学院,上海 201209上海杉达学院 信息科学与技术学院,上海 201209
信息技术与安全科学
微博情感分析细粒度情感BERT模型社交媒体
Weibo sentiment analysisfine-grained sentimentBERT modelsocial media
《现代信息科技》 2026 (4)
112-115,121,5
上海杉达学院校级重点课程项目(A020201.24.049)上海杉达学院科研基金项目-基于强化学习协同进化算法求解时间表调度问题研究
评论