The invention discloses a fine-grained emotion polarity prediction method based on a
hybrid attention network, and aims to overcome the problems of lack of flexibility, insufficient precision, difficulty in obtaining
global structure information, low training speed, single attention information and the like in the prior art. The method comprises the following steps: 1, determining a text context sequence and a specific aspect target word sequence according to a comment text
sentence; 2, mapping the sequence into two multi-dimensional continuous word vector matrixes through log
word embedding;3, performing multiple different linear transformations on the two matrixes to obtain corresponding transformation matrixes; 4, calculating a text context self-attention matrix and a specific aspect target word vector attention matrix by using the
transformation matrix, and splicing the two matrixes to obtain a double-attention matrix; 5, splicing the double attention matrixes subjected to different times of linear change, and then performing linear change again to obtain a final attention representation matrix; and 6, through an average
pooling operation, inputting the emotion polarity into asoftmax classifier through full connection
layer thickness to obtain an emotion polarity prediction result.