Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A text emotion analysis method based on dual-channel model

A sentiment analysis, dual-channel technology, applied in text database clustering/classification, biological neural network model, unstructured text data retrieval, etc., can solve the problem of insufficient extraction of text features, performance impact, inability to learn text Deep information features and other issues to achieve the effect of improving classification accuracy, enhancing influence, and reducing interference

Inactive Publication Date: 2019-02-01
HENAN POLYTECHNIC UNIV
View PDF3 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the development of society, the effect of this method is not ideal in the face of increasingly diverse texts
In addition, the use of machine learning methods for text sentiment analysis requires a large number of manually designed data features. With the increase of text data sets to be processed, traditional machine learning methods have been unable to learn the deep information features of text quickly and well.
[0004] When using traditional methods to extract text information features, the text is extracted without distinction, but it is worth noting that each word in the text contributes differently to the emotional polarity of the entire text. The commonly used neural network , such as convolutional neural network (Convolutional Neural Network, CNN) and long short-term memory network (LongShort-Term Memory, LSTM), when extracting features, it is impossible to distinguish the position of important information in the sentence, resulting in text classification results being greatly affected by irrelevant information. Big
The existing sentiment analysis methods basically extract text features by constructing a single-channel neural network model, and the performance of the single-channel model will be affected as the number of network layers increases, and cannot fully extract text features.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A text emotion analysis method based on dual-channel model
  • A text emotion analysis method based on dual-channel model
  • A text emotion analysis method based on dual-channel model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0053] This example uses real Chinese comments collected from the Internet, and uses a text sentiment analysis method based on a dual-channel model to analyze text sentiment. The specific steps are as follows:

[0054] 1. Preprocess the data set, use stammer word segmentation for word segmentation, remove stop words, and set the text length to 60;

[0055] 2. Label 1 for positive emotional texts and 0 for negative emotional texts, and divide the test set and training set;

[0056] 3. Use the Word2Vec tool to train the word vector, set the dimension to 128, and splicing the word vector to 60 according to the order of the text words 128 word vector matrix;

[0057] 4. The word vector matrix is ​​used as the input feature of CNN and LSTM network respectively, wherein the convolution kernel size of CNN is set to 3, 4, 5, and the number is 128, and the number of hidden layer neurons of LSTM network is set to 128;

[0058] 5. Access the attention layer after the CNN and LSTM netw...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a text emotion analysis method based on a dual-channel model aiming at the problem that the single-channel neural network model has a single structure and can not fully extractthe text information. Includes such steps as training word vector by Word2Vec, representing text as word vector matrix, Then, using and sending the word vector matrix as input data to convolution neural network (CNN) and long-short-term memory (LSTM) network for feature extraction. After that, attention model is introduced to extract the important feature information of the text. Finally, the textfeatures extracted from the two channels are merged, and emotion classification is carried out by using the classification layer. The method provided by the invention has feasibility and superiority,and the performance of the method is obviously superior to other single-channel neural network models.

Description

technical field [0001] The invention proposes a text sentiment analysis method based on a dual-channel model, which relates to the field of text sentiment analysis. Background technique [0002] In recent years, with the rapid development of the Internet industry, many new media have emerged, and these new media are constantly impacting and changing people's way of life. The rise of various e-commerce platforms has made online shopping easy and popular without leaving home. The only feedback this shopping method gets is the consumer experience reviews left by consumers. These real reviews determine potential consumption. The only basis for consumers to consume. Therefore, performing sentiment analysis on these large amounts of emotional texts is beneficial to both e-commerce platforms and consumer groups. [0003] The main task of text sentiment analysis is to analyze text information with emotional color, extract features, and make polarity judgments. At present, there a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/35G06N3/04
CPCG06N3/045
Inventor 李辉高娜刘小磊周巧喜徐坚李金秋
Owner HENAN POLYTECHNIC UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products