A sentiment classification method and system

A technology of emotion classification and relationship, applied in the computer field, can solve the problems of insufficient semantic features, accuracy, poor effect of emotion classification, etc., and achieve the effect of improving classification accuracy and improving the expression of semantic features

Inactive Publication Date: 2019-04-26
SHENZHEN UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method and system for emotion classification, aiming to solve the problem that the semantic features learned in the prior art are not sufficient and accurate, resulting in poor effect of emotion classification

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 sentiment classification method and system
  • A sentiment classification method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] figure 1 The implementation flow of the emotion classification method provided by the first embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:

[0021] In step S101, the text to be classified is analyzed according to the rhetorical structure theory to obtain a rhetorical structure analysis tree.

[0022] In the embodiment of the present invention, Rhetorical Structure Theory (RST) is a descriptive theory about text organization based on the relationship between text parts. The rhetorical structure theory puts forward 23 rhetorical relations in total, including elaboration, comparison, proof and so on. The rhetorical structure relationship divides a piece of text into a central segment and peripheral segments, which are called core and peripheral. The relationship between each layer of nodes in the rhetorical structure parsing tree ...

Embodiment 2

[0062] figure 2 It shows a schematic structural diagram of the emotion classification system provided by the second embodiment of the present invention. For the convenience of illustration, only the parts related to the embodiment of the present invention are shown, including: analysis unit 21, initial vector acquisition unit 22, hidden state acquisition Unit 23 and sentiment classification unit 24, wherein:

[0063] The parsing unit 21 is configured to parse the text to be classified according to the rhetorical structure theory to obtain a rhetorical structure parsing tree.

[0064] In the embodiment of the present invention, Rhetorical Structure Theory (RST) is a descriptive theory about text organization based on the relationship between text parts. The rhetorical structure theory puts forward 23 rhetorical relations in total, including elaboration, comparison, proof and so on. The rhetorical structure relationship divides a piece of text into a central segment and perip...

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 present invention is applicable to the field of computer technology, and provides a sentiment classification method and system. The method includes: analyzing the text to be classified according to the rhetorical structure theory to obtain a rhetorical structure analysis tree; obtaining the information of each node in the rhetorical structure analysis tree The initial vector, the node includes: input gate, output gate, memory cell, hidden state and forget gate; according to the point product of the output gate of the node and the hyperbolic tangent function value of the memory cell, the hidden state of the node is obtained; according to Hidden state of nodes, sentiment classification by classifier function. The present invention builds the text to be classified into a rhetorical structure analysis tree, in which there are two node fragments in each layer, and each node has its own forgetting gate, during the learning process, children are selected through the forgetting gate Node information, constantly updating cell status, discarding unimportant information, adding core content, improving semantic feature expression, thereby improving classification accuracy.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to an emotion classification method and system. Background technique [0002] Due to the problem of gradient disappearance in Recurrent Neural Networks (RNN, Recurrent Neural Networks), in recent years, a chain-structured long-short-term memory network (LSTM, Long short-term memory) has been proposed and widely studied. It adds a memory cell structure to the original RNN to store information. This improvement makes LSTM have a strong ability to protect sequence information over time, so it can capture long-term, long-distance dependencies. Solved the gradient vanishing problem of RNN. However, the previous research on LSTM was based on the linear chain structure of time series. Later, after research, the chained LSTM was extended to the tree structure and constructed through the syntax analysis tree structure, which improved the expression of semantic features. These ...

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 Patents(China)
IPC IPC(8): G06F17/27G06K9/62
CPCG06F40/30G06F18/24
Inventor 傅向华徐莹莹
Owner SHENZHEN 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