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

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

Example Embodiment

[0052] Examples:

[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 stuttering word segmentation for word segmentation, remove stop words, and set the text length to 60;

[0055] 2. Assign label 1 to positive emotion text, assign label 0 to negative emotion text, 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 splice the word vector to 60 according to the text word order 128 word vector matrix;

[0057] 4. Use the word vector matrix as the input features of the CNN and LSTM networks respectively, where the size of the convolution kernel of CNN is set to 3, 4, 5, the number is 128, and the number of hidden layer neurons of the LSTM network is set to 128;

[0058] 5. After the CNN and LSTM networks are connec...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products