Abstract

In the light of the BERT model relies on masking part of the word to achieve bi-directional prediction of text, but does not take into account the possible association between masked and unmasked words, resulting in loss of information and long-term dependency and inadequate context-deep semantic mining in RNN, an emotion classification model based on XLNet BiLSTM is used. This paper first uses the XLNet pre-training language model to generate context-dependent word vectors to represent text information in a distributed way; Then the word vector is input into the BiLSTM network to analyze and calculate the deep semantics of the text; Finally, softmax function is used to output emotional polarity classification. Train and test the model by mining the text about the Lantern Festival on some social and media platforms. The experimental results show that the accuracy rate of the model is 0.958, and the loss rate is 0.182.

Full Text
Paper version not known

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

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.