Abstract

Accurately mining the emotional information contained in product reviews is of great significance to product sales. Existing research on sentiment analysis of product reviews often ignores the importance of modelling aspect words and context separately. Therefore, this paper proposes a sentiment analysis model for product reviews based on RoBERTa-IAN. Firstly, the context and aspect words of product reviews are transformed into low dimensional vectors through the RoBERTa pre-training model. Then, the low dimensional vector is used as the input of Bi-GRU model to extract semantic features and get the hidden representation. Finally, the attention matrices of context and aspect words are obtained by using the Interactive Attention Networks (IAN), which are used as the input of sentiment classification layer to analyse and classify the sentiment polarity of product reviews. The experimental results on the real commodity Chinese dataset show that the accuracy of RoBERTa-IAN has reached more than 90%.

Full Text
Published version (Free)

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