Sentiment analysis of microblog data based on TextCNN

With the rapid development of social media, Microblog comments have become an important source of data for understanding public emotions. But Microblog content is usually casual and short, which is a challenge for traditional emotion analysis methods. This study designed a complete emotion analysis process based on TextCNN. Using Scrapy combined with Selenium technology to bypass anti crawling mechanisms and efficiently capture comment data. The preprocessing process includes removing meaningless words, using Jieba segmentation, and combining hidden Markov models to improve accuracy, and then converting words into vector form through Word2Vec Skip gram. The TextCNN model uses convolutional kernels of different sizes to extract emotional features, and after max pooling and fully connected layers, divides the text into seven emotional categories. Finally, use Matplotlib and Pyecharts to visualize the results, presenting the distribution of emotions and user engagement. This method effectively alleviates the problem of insufficient semantic information in short texts and has good adaptability to common informal expressions on Microblog. This framework provides practical support for public opinion monitoring and real-time sentiment analysis in social media environments.

Authors

Institutions

Publication Details

Published
2025-06-06
DOI
https://doi.org/10.1145/3757749.3757855
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sentiment analysis of microblog data based on TextCNN

Fei Deng, Bowen Zheng, Xiyi Miao, Weihao Fang
Sentiment Analysis and Opinion Mining
article

Sentiment analysis of microblog data based on TextCNN

Fei Deng, Bowen Zheng, Xiyi Miao, Weihao Fang
article en

Abstract

With the rapid development of social media, Microblog comments have become an important source of data for understanding public emotions. But Microblog content is usually casual and short, which is a challenge for traditional emotion analysis methods. This study designed a complete emotion analysis process based on TextCNN. Using Scrapy combined with Selenium technology to bypass anti crawling mechanisms and efficiently capture comment data. The preprocessing process includes removing meaningless words, using Jieba segmentation, and combining hidden Markov models to improve accuracy, and then converting words into vector form through Word2Vec Skip gram. The TextCNN model uses convolutional kernels of different sizes to extract emotional features, and after max pooling and fully connected layers, divides the text into seven emotional categories. Finally, use Matplotlib and Pyecharts to visualize the results, presenting the distribution of emotions and user engagement. This method effectively alleviates the problem of insufficient semantic information in short texts and has good adaptability to common informal expressions on Microblog. This framework provides practical support for public opinion monitoring and real-time sentiment analysis in social media environments.

Kunming University (CN)
Openalex Percentile: Top 87%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.