Social network text sentiment analysis method
The invention belongs to the technical field of natural language processing, and particularly relates to a social network text sentiment analysis method which comprises the following steps: acquiring network text information, and preprocessing the text information; performing word vectorization on t...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
09.04.2024
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention belongs to the technical field of natural language processing, and particularly relates to a social network text sentiment analysis method which comprises the following steps: acquiring network text information, and preprocessing the text information; performing word vectorization on the preprocessed text data by adopting a pre-trained language model ERNIE to obtain a word vector sequence; a Bi-GRU network layer is adopted to carry out forward and backward information summarization and combination on the word vector sequence, and a final Bi-GRU model implicit vector is obtained; multiplying the implicit vector of each word by the word weight calculated through the self-attention layer to obtain a weighted final vector; inputting the weighted final vector into the trained text sentiment analysis model to obtain a sentiment classification result of the text; according to the method, an innovative method combining ERNIE and Bi-GRU neural networks is adopted, so that the effect of social network tex |
---|---|
Bibliography: | Application Number: CN202410031259 |