Abstract
Aiming at the needs of network public opinion analysis and crisis public opinion early warning in colleges and universities, the semantic sentiment analysis method is studied in this paper. Most of the public opinion information comes from short text comment information, and its text is separated from the written language, the structure becomes simpler, and it lacks normativity, which brings certain difficulties to the extraction of text features. Traditional sentiment analysis methods often rely on emotional dictionaries and feature extraction, and with the continuous change of Internet culture, a technical help is needed to make even the dictionary updated. Based on the analysis and study of attention mechanism and deep learning related technologies, an LSTM model is proposed to mine the deep semantic characteristics of text, which can accurately determine its emotional tendency. The main tasks are as follows: according to the CNN and LSTM text processing, CNN can better extract the local features of the text, and LSTM can retain the text history information and effectively extract the global features of the sequence. The CBOW model is optimized to pay more attention to the feature vectors that affect the classification results during the calculation process. Finally, the improved model in this paper compares the accuracy, recall rate, loss rate, and F1 value of the traditional model to indicate the performance evaluation index of the model.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have