The invention discloses an attention CNNs and CCR-based text
sentiment analysis method and belongs to the field of
natural language processing. The method comprises the following steps of 1, training a semantic word vector and a sentiment word vector by utilizing original text data and performing dictionary word vector establishment by utilizing a collected sentiment dictionary; 2, capturing context
semantics of words by utilizing a long-short-
term memory (LSTM) network to eliminate
ambiguity; 3, extracting local features of a text in combination with
convolution kernels with different filtering lengths by utilizing a
convolutional neural network; 4, extracting global features by utilizing three different attention mechanisms; 5, performing artificial
feature extraction on the original text data; 6, training a multimodal uniform regression target function by utilizing the local features, the global features and artificial features; and 7, performing sentiment polarity prediction by utilizing a multimodal uniform regression prediction method. Compared with a method adopting a single word vector, a method only extracting the local features of the text, or the like, the text
sentiment analysis method can further improve the sentiment classification precision.