计算机与现代化 ›› 2016, Vol. 0 ›› Issue (8): 27-31.doi: 10.3969/j.issn.1006-2475.2016.08.006

• 人工智能 • 上一篇    下一篇

基于词向量与句法树的中文句子情感分析

  

  1. (扬州大学信息工程学院,江苏 扬州 225009)
  • 收稿日期:2016-01-26 出版日期:2016-08-18 发布日期:2016-08-11
  • 作者简介:相若晨(1990-),女,江苏南京人,扬州大学信息工程学院硕士研究生,研究方向:文本情感分析; 孙美凤(1970-),女,江苏泰州人,副教授,硕士生导师,博士,研究方向:对等网络应用,流量识别。

Sentiment Analysis of Chinese Sentences Based on Word Embedding and Syntax Tree

  1. (College of Information Engineering, Yangzhou University, Yangzhou 225009, China)
  • Received:2016-01-26 Online:2016-08-18 Published:2016-08-11

摘要: 随着互联网的快速发展,网络中充斥着海量主观性文本,如何对这些主观性语句进行情感倾向性判断是文本情感分析的关键。本文提出一种基于词向量和句法树的中文句子情感分析方法。针对目前大量网络新词的使用所带来的问题,以已有标注的情感词典为基础,采用词向量的方法判断词语之间的语义相似度,从而得到未知词语的情感极性。针对情感极性转移现象,定义相应的情感判断规则。在此基础上,利用句子的句法树结构,对句子进行情感倾向性分析。实验证明,该方法在一定程度上解决了网络新词的问题,有效提高了句子情感分析的准确率和召回率,且具有领域适用性。

关键词: 情感词典, 词向量, 句法树, 情感倾向性分析

Abstract: With the rapid development of Internet, the network is filled with a lot of subjective texts. How to judge the emotional polarity of these subjective statements is the key of the text sentiment analysis. In this paper, a method of sentiment analysis of Chinese sentences based on the word embedding and syntax tree structure is proposed. In view of the large number of network words, word embeddings are used to compute the semantic similarity between words, and the emotional polarity of the target word is gained. Some sentiment rules are defined for the phenomenon of emotional polarity transfer. Then, we judge the sentiment of sentences according to the syntax tree structure of the sentences. Experiments show that this method can solve the problem of the network words. Simultaneously, the precision and recall rate of the method are improved, and it also can be used widely in different domains.

Key words: sentimental lexicon, word embedding, syntax tree, sentiment analysis

中图分类号: