Research on Prediction of Sentiment Trend of Food Safety Public Opinion

Chaofan Jiang,Hu Wang,Changbin Jiang,Di Li
DOI: https://doi.org/10.4236/jcc.2023.113014
2023-01-01
Journal of Computer and Communications
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.
What problem does this paper attempt to address?