Journal of Computer and Communications

Volume 11, Issue 3 (March 2023)

ISSN Print: 2327-5219   ISSN Online: 2327-5227

Google-based Impact Factor: 1.98  Citations  

Research on Prediction of Sentiment Trend of Food Safety Public Opinion

HTML  XML Download Download as PDF (Size: 1812KB)  PP. 189-201  
DOI: 10.4236/jcc.2023.113014    256 Downloads   977 Views  Citations

ABSTRACT

Emotion has a nearly decisive role in behavior, which will directly affect netizens’ views on food safety public opinion events, thereby affecting the development direction of public opinion on the event, and it is of great significance for food safety network public opinion to predict emotional trends to do a good job in food safety network public opinion guidance. In this paper, the dynamic text representation method XLNet is used to generate word vectors with context-dependent dependencies to distribute the text information of food safety network public opinion. Then, the word vector is input into the CNN-BiLSTM network for local semantic feature and context semantic extraction. The attention mechanism is introduced to give different weights according to the importance of features, and the emotional tendency analysis is carried out. Based on sentiment analysis, sentiment value time series data is obtained, and a time series model is constructed to predict sentiment trends. The sentiment analysis model proposed in this paper can well classify the sentiment of food safety network public opinion, and the time series model has a good effect on the prediction of food safety network public opinion sentiment trend.

Share and Cite:

Jiang, C. , Wang, H. , Jiang, C. and Li, D. (2023) Research on Prediction of Sentiment Trend of Food Safety Public Opinion. Journal of Computer and Communications, 11, 189-201. doi: 10.4236/jcc.2023.113014.

Copyright © 2025 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.