透過您的圖書館登入
IP:18.118.193.108
  • 期刊

Emotional analysis of neural network text combined with attention mechanism

摘要


In order to solve the problems of ignoring key words, insufficient learning of context information and gradient dispersion in the current neural network model, this paper proposes a text emotion analysis model of neural network based on attention mechanism.In this paper, word2vec is combined with term frequency-inverse document frequency (TFIDF) algorithm, and attention mechanism is added into the gated loop unit (GRU) network model to highlight the role of keywords in the text through weighted probability. At the same time, Maxout neuron is introduced at the output end of the model, which can effectively alleviate the gradient dispersion problem.The model in this paper is tested on IMDB English data set. The experimental results show that the model in this paper has a good effect on IMDB data set and can achieve better accuracy and F value compared with other classification models.

關鍵字

Emotion analysis maxout neurons TFIDF GRU

參考文獻


Taboada M, Brooke J, Tofiloski M, et al. Lexicon-Based Methods for Sentiment Analysis[J]. Computational Linguistics, 2011, 37(2):267-307.
Kim Y, Convolutional neural networks for sentence classification [C] //Proceedings of EMNLP, 2014.
Conneau, et al. Very deep convolutional networks for text classification [C] //Proceedings of the 15 th Conference of the European Chapter of the Association for Computational Linguistics, 2017.
Tang D, Qin B, Liu T. Document modeling with gated recurrent neural network for sentiment classification [C] //Proceedings of EMNLP, 2015:1422-1432.
Hochreiter S, Schmidhuber J. Long Short-term Memory [J]. Neural Computation, 1997, 9(8): 1735-1780.

延伸閱讀