Aiming at the simple neural network's lack of the ability to capture the contextual semantics of text and extract meaningful information in the text, a sentiment analysis model FAGB iAGRU is a fusion of attention mechanism and gated recurrent unit (GRU), is designed. First, the text is preprocessed, and passed GloVe carries out word vectorisation to reduce the dimension of the vector space; then, the attention mechanism is merged with the update gate of the gating unit to form a hybrid model so that it can extract meaningful information in the text features; finally, by forcing forward attention The mechanism further removes text features, and then classifies them by the softmax classifier. Experiments on public data sets show that the algorithm can effectively improve the performance of sentiment analysis.
K E Y W O R D Sbelief networks, client-server systems, contracts, data models, data privacy, data protectionThis is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited.