A Chinese comment emotion analysis method based on a GRU neural network

A neural network and analysis technology, applied in the field of sentiment analysis of Chinese comments, can solve problems such as the inability to extract the emotional expression of sentences and the inability to accurately identify them, achieving superior performance and improving the speed of the model

Pending Publication Date: 2019-01-08
NANJING UNIV OF INFORMATION SCI & TECH
View PDF3 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Most of the methods can accurately identify sentences expressing accurate emotions, but they cannot accurately identify some comments with irony (excessive praise for the purpose of criticism)
Because this type of method can only classify different word features and cannot extract the hidden emotional expression in the sentence

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 Chinese comment emotion analysis method based on a GRU neural network
  • A Chinese comment emotion analysis method based on a GRU neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The invention will be described in further detail below in conjunction with the accompanying drawings.

[0026] Such as figure 1 The method shown first loads the corpus data, uses the jieba (Chinese word segmentation tool) word segmentation tool to perform word segmentation, and then removes some useless pause words and divides the corpus into a training set and a test set according to a certain ratio. In order to extract the semantic features between words, the ability to classify words and sentences is strengthened. This patent uses the word vectors of the Word2Vec training corpus to average all the word vectors of each sentence to generate the word vectors corresponding to the words in the sentence, and then use the Word2Vec model network for backpropagation training to finally calculate and generate corresponding low-dimensional word vectors . Input the word vector with sentence emotion generated by Word2Vec into the GRU neural network model for training. The tes...

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 discloses a Chinese comment emotion analysis method based on a GRU neural network, belonging to the field of natural language processing and deep learning. The method comprises the following steps: (1) firstly loading corpus data and segmenting words by a jieba word segmentation tool; (2) removing some useless pause words and dividing the corpus into a training set and a test set proportionally; (3) using word 2vec to train the word vector of the corpus, taking the mean value of all the word vectors of each sentence to generate the vector of the corresponding sentence, and then using word 2vec model network to carry on the back propagation training to calculate and generate the corresponding word vector finally; (4) inputting the word vector with sentence emotion generated byword 2vec into GRU neural network model for training; (5) constructing the test set according to the training set method, and inputting the GRU neural network to classify the emotion. The method utilizes a classification model based on the GRU neural network to classify emotions, and the speed of the model is remarkably improved at the same time of obtaining a good effect.

Description

technical field [0001] The invention relates to a Chinese comment sentiment analysis method based on a GRU (recurrent unit) neural network, which belongs to the field of natural language processing and deep learning. Background technique [0002] Sentiment classification technology refers to the identification and classification of emotional information expressed by users in comment texts, and generally divides them into positive and negative categories. The emotions of praise and affirmation are divided into positive categories, and the emotions of criticism and negation are divided into negative categories. There are two main methods of sentiment classification technology: the first is the unsupervised classification method using sentiment lexicon, and the second is the supervised classification method based on machine learning. Because sentiment classification based on machine learning methods can achieve better classification results, it has become a mainstream method. ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/27G06N3/08
CPCG06N3/08G06F40/289G06F40/30
Inventor 行鸿彦余培
Owner NANJING UNIV OF INFORMATION SCI & TECH
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