Research and Implementation of Text Sentiment Analysis Model Based on BERT
Abstract
commercial value and social sentiment within massive comment datasets.As one of the core tasks in natural language processing (NLP), sen
timent analysis aims to automatically identify subjective emotional tendencies in texts. Traditional machine learning methods rely on complex
feature engineering, while early deep learning models struggled to capture long-range semantic dependencies. This study proposes and imple
ments a text sentiment analysis model based on BERT (Bidirectional Encoder Representations from Transformers). By leveraging BERT's
powerful bidirectional contextual representation capabilities, combined with domain-specific corpus fine-tuning, and experimental validation
on public datasets, the results demonstrate that the BERT-based model significantly outperforms traditional deep learning models like LSTM
and TextCNN in accuracy, precision, and F1 score metrics. It effectively addresses polysemous word disambiguation and contextual depend
ency challenges,providing an efficient technical pathway for practical sentiment analysis applications.
Keywords
Full Text:
PDFReferences
[1] Wu Huiyi, Wang Wei. KE-BERT-BiLSTM: A knowledge-enhanced sentiment analysis algorithm for public security petition texts [J].
Computer Engineering and Applications, 1-15.
[2] Zhang W, Ma X. Cognitive and emotional analysis of preprints among young researchers based on web text mining [J]. Information Ex
ploration, 2026, (02):50-56 .
[3] Zheng L, Lan Haiyu. Text mining and sentiment analysis based on online reviews of new energy vehicles [J]. Journal of Hubei Univer
sity of Technology, 2026, 41(01):132-137 .
[4] Wang Lukun, Li Yunhe. Research on Elderly Shoe Design Based on Text Emotional Analysis [J]. Leather Science and Engineering,
2026, 36(02):65-74 .
[5] Li Xia, Yu Haibo, Zhang Yue.Analysis of stock market volatility based on sentiment analysis of news texts [J]. China Management In
formatization, 2026, 29(03):129-134 .
DOI: http://dx.doi.org/10.70711/aitr.v3i10.9205
Refbacks
- There are currently no refbacks.