Patent attributes
Provided are a data processing method, an electronic device and a storage medium. The method include: acquiring pending word vectors; acquiring multi-head attention vectors based on the pending word vectors, the multi-head attention vectors including first and second multi-head attention vectors; acquiring, based on the first multi-head attention vector, a first hidden semantic representation corresponding to the sentence; acquiring, based on the second multi-head attention vector, a second hidden semantic representation corresponding to the target word; acquiring a classification feature vector, based on the first and second hidden semantic representations; and acquiring, based on the classification feature vector, a sentiment polarity category of the sentence, and performing a sentiment classification on the sentence.