一种加权词向量的混合网络文本情感分析方法

A Mixed Network Text Sentiment Analysis Method Based on Weighted Word Vectors

  • 摘要: 针对文本中关键信息被忽略以及分类准确率不高的问题,提出一种加权word2vec的卷积神经网络(CNN)与ATT-BiGRU混合神经网络情感分析模型.由于word2vec生成的词向量无法突出文本关键词的作用,因此引入词频-逆文档频率(TF-IDF)算法计算词汇权重值.然后,将加权运算后的词向量输入CNN与ATT-BiGRU混合模型提取隐含特征.该模型通过卷积神经网络(CNN)和基于注意力机制的双向门限循环单元(ATT-BiGRU)分别提取文本特征,以此来提高文本的表示能力.多组实验对比结果表明,与其他算法相比较,该模型的分类准确率最高且耗费时间代价小.

     

    Abstract: Aiming at the problem that the key information in the text is ignored and the classification accuracy is not high, a weighted word2vec CNN and ATT-BiGRU mixed neural network sentiment analysis model is proposed. Since the word vector generated by word2vec cannot highlight the role of text keywords, the term frequency-inverse document frequency (TF-IDF) algorithm is introduced to calculate the vocabulary weight value. Then, the weighted operation word vector is input into the mixed model of CNN and ATT-BiGRU to extract the hidden features. The proposed model extracts text features by Convolutional Neural Network (CNN) and attention-based Bidirectional Gated Recurrent Unit (ATT-BiGRU) to improve text representation. Compared with other algorithms, the results show that the classification accuracy of the proposed model is the highest and the cost is small.

     

/

返回文章
返回