attention CNNs and CCR-based text sentiment analysis method
A sentiment analysis and text technology, applied in semantic analysis, neural learning methods, special data processing applications, etc., can solve problems such as single feature, lack of global features, and insufficient to reflect the emotional polarity of text
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2017-08-25
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention is a method for analyzing text emotion, which belongs to the field of natural language processing. Background technique
[0002] With the rise of social platforms such as Twitter, Facebook, and Weibo, and e-commerce platforms such as Amazon and Taobao, commentary text resources on the Internet are increasing day by day. Faced with a large number of unstructured comment texts from Weibo and forums, it is urgent to analyze and judge the emotional tendency expressed in the text through natural language processing technology. For example, identifying the emotional information of product attributes from comments can provide decision support for merchants and other users; in public opinion monitoring, the government can keep abreast of people's attitudes towards emergencies and social phenomena, and guide public opinion trends. The vast majority of traditional sentiment analysis uses the combination of traditional NLP features and machine lear...
Examples
Embodiment Construction
[0042] The method of the present invention comprises the following steps: 1. Utilize original text data to train semantic word vectors and emotional word vectors and utilize the sentiment dictionary collected to carry out dictionary word vector construction; 2. Utilize the context semantics of long short-term memory network LSTM to capture words for ambiguity Elimination; 3. Using convolutional neural network (combining convolution kernels with different filter lengths to extract local features of the text; 4. Using three different attention mechanisms to extract global features respectively; 5. Extracting artificial features from the original text data 6. Utilize local features, global features and artificial features to train the multi-mode consistent regression objective function; 7. Utilize the multi-mode consistent regression prediction method to carry out emotional polarity prediction. The present invention is relative to adopting single word vector or only extracting text...