Abstract

The goal of Chinese fine-grained emotion analysis is to identify the target words corresponding to fine-grained elements from sentences and determine the corresponding emotional polarity for the target words. Aiming at the problem that the current Sina Microblog user emotion analysis methods have low accuracy and are difficult to effectively predict and manage, a Sina Microblog user emotion analysis method based on the Bidirectional Long Short-Term Memory algorithm (BiLSTM) and improved hierarchical attention mechanism is proposed. Firstly, an emotion analysis model is constructed based on text-level analysis and subjective and objective analysis, and the dimensionality curse problem of one-hot representation is solved by integrating the weighted word vector of TF-IDF. Then, by constructing a bidirectional long short-term memory neural network, the full acquisition of context information is realized, which increases the fine-grained elements of emotion analysis. Finally, by introducing an improved hierarchical attention mechanism, the network model can focus on different parts to achieve text classification and emotion analysis. Through simulation experiments, the proposed emotion analysis method and the other two methods are compared and analyzed under the condition of using the same database. The results show that the precision, recall, and F1 value of the method proposed in this paper are the best under 7 different emotion classifications, with the highest reaching 95.8%, 95.9%, and 96.1%, respectively, and the algorithm performance is better than the other two comparisons algorithm. It is proved that the proposed model has excellent performance.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call