Next Article in Journal
Effect of Herbal Extracts on Lactic Acid Bacteria Growth, Acidification and Viability in Fermented Milk and Plant-Based Beverages
Previous Article in Journal
Freeze-Dried Preservation of Carnobacterium maltaromaticum CNCM I-3298 and Investigation of the Underlying Mechanisms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Multi-Level Online Public Opinion Sentiment Analysis Method Based on Text Features

1
School of Computer Science and Technology, Changchun University, Changchun 130022, China
2
School of Electronic and Information Engineering, Changchun University, Changchun 130022, China
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2026, 16(13), 6785; https://doi.org/10.3390/app16136785
Submission received: 10 June 2026 / Revised: 29 June 2026 / Accepted: 2 July 2026 / Published: 6 July 2026

Abstract

With the rapid development of social media and online interactive platforms, online public opinion has become a vital information source for public emotional expression, social risk perception, and decision support. However, public opinion texts are typically characterized by short length, obscure semantics, complex emotional expressions, and strong context dependence, making it difficult for traditional lexicon-based or shallow neural network methods to achieve stable and robust performance in sentiment discrimination tasks. To address these issues, this paper proposes BERT-BiLSTM-MHSA-Capsule (BBMC), hereafter referred to as BBMC, an online public opinion sentiment analysis model based on multi-level semantic feature fusion. The model first utilizes the pretrained language model BERT to extract dynamic semantic representations with context-aware capabilities; subsequently, a Bidirectional Long Short-Term Memory (BiLSTM) network is employed to model the bidirectional temporal dependencies within the texts, while a Multi-Head Self-Attention (MHSA) mechanism is introduced to achieve adaptive focusing on key emotional information. Building upon this, a three-layer cascaded capsule network is constructed to achieve structured modeling of high-order emotional attributes through vector neurons and dynamic routing mechanisms, effectively mitigating the loss of spatial feature information caused by traditional pooling and fully connected structures. Experimental results on a manually annotated online public opinion dataset show that BBMC achieves better performance than the evaluated baseline models in terms of accuracy, recall, and F1-score. These results indicate the empirical effectiveness of the proposed task-oriented feature-integration strategy and capsule-based classification head for online public opinion sentiment analysis.
Keywords: online public opinion analysis; sentiment analysis; BERT; BiLSTM; capsule network online public opinion analysis; sentiment analysis; BERT; BiLSTM; capsule network

Share and Cite

MDPI and ACS Style

Zhao, J.; Sun, Y.; Xu, D.; Kuang, Z.; Shi, L.; Zhang, Z.; Zheng, Y. Multi-Level Online Public Opinion Sentiment Analysis Method Based on Text Features. Appl. Sci. 2026, 16, 6785. https://doi.org/10.3390/app16136785

AMA Style

Zhao J, Sun Y, Xu D, Kuang Z, Shi L, Zhang Z, Zheng Y. Multi-Level Online Public Opinion Sentiment Analysis Method Based on Text Features. Applied Sciences. 2026; 16(13):6785. https://doi.org/10.3390/app16136785

Chicago/Turabian Style

Zhao, Jian, Yi Sun, Dawei Xu, Zhejun Kuang, Lijuan Shi, Zubin Zhang, and Yong Zheng. 2026. "Multi-Level Online Public Opinion Sentiment Analysis Method Based on Text Features" Applied Sciences 16, no. 13: 6785. https://doi.org/10.3390/app16136785

APA Style

Zhao, J., Sun, Y., Xu, D., Kuang, Z., Shi, L., Zhang, Z., & Zheng, Y. (2026). Multi-Level Online Public Opinion Sentiment Analysis Method Based on Text Features. Applied Sciences, 16(13), 6785. https://doi.org/10.3390/app16136785

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop