Jisuanji kexue (Nov 2021)

Text Sentiment Analysis Based on Fusion of Attention Mechanism and BiGRU

  • YANG Qing, ZHANG Ya-wen, ZHU Li, WU Tao

DOI
https://doi.org/10.11896/jsjkx.201000075
Journal volume & issue
Vol. 48, no. 11
pp. 307 – 311

Abstract

Read online

Aiming at the lack of the ability of simple neural networks to capture the contextual semantics of texts and extract important information in texts,a sentiment analysis model FFA-BiAGRU is proposed,which integrates attention mechanism and GRU.First,we pre-process the text and vectorize the words through GloVe to reduce the vector space dimension.Then,through a hybrid model that fuses the attention mechanism with the update gate of the gating unit,it can extract important information in the text features.Finally,the text features are further extracted through the forced forward attention mechanism,and then classified by the softmax classifier.Experiments on public data sets show that the algorithm can effectively improve the sentiment ana-lysis performance.

Keywords