Abstract
With the development of modern information technology, social networks have become an im-portant platform for people to express, and at the same time, a large number of texts have been produced. However, the comment text has the characteristics of randomness and colloquialism in the way of expression, and also contains a lot of non-text data. Therefore, manually analyzing the emotional information in the text will consume a lot of time and the accuracy will be limited. To solve emotion classification, this study proposes a knowledge enhanced double loop emotion classification neural network model with attention mechanism. The study first preprocesses text data using a full sentence vector word vector model, then uses convolutional neural networks to recognize emotions in emoticons and emoticons in the text. Finally, the classification results are integrated using algorithms such as a dual loop sentiment classification neural network with pool-ing layers and attention mechanisms, K-nearest neighbors, and decision trees. The final compre-hensive expression recognition and text recognition results are used to obtain the text sentiment classification results. The experimental data shows that the model proposed in this study has an accuracy of 0.947 in the training set test, which is significantly better than other models. In da-tasets A and B, the accuracy of the research design model was 0.958 and 0.924, and the recall was 0.964 and 0.986, respectively. Compared to the baseline method or existing research models, the values of each indicator were significantly higher. The recall rate is the proportion of instances correctly identified as positive by the model to all actual positive instances, which can reflect the emotional classification performance of the research and design model. The higher the value, the better the performance of the model. In practical applications, the positive review rate of this model is above 0.9, which has obvious advantages compared to other models. This study utilizes deep learning techniques to classify sentiment in comment texts, providing reference for the field of text sentiment classification. In the e-commerce industry, it is possible to identify the emotions in user comments on products, further understand the product situation on the platform, and make targeted planning for product reserves, specifications, and so on.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.