Sentiment classification method and system

A technology of emotion classification and nodes, which is applied in the computer field, can solve problems such as poor effect of emotion classification, insufficient and accurate semantic features, etc., and achieve the effect of improving classification accuracy and improving the expression of semantic features

Inactive Publication Date: 2016-09-21
SHENZHEN UNIV
View PDF2 Cites 15 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

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
  • Sentiment classification method and system
  • 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 invention is suitable for the technical field of the computer, and provides a sentiment classification method and system. The method comprises the following steps: according to a rhetorical structure theory, analyzing a text to be classified to obtain a rhetorical structure parse tree; obtaining the initial vector of each node in the rhetorical structure parse tree, wherein the node comprises an input gate, an output gate, a memory cell, a hiding state and a forgetting gate; according to the hyperbolic curve tangent function value of the output gate and the memory cell of the node, carrying out dot product to obtain the hiding state of the node; and according to the hiding state of the node, carrying out sentiment classification on a classifier function. The text to be classified is constructed into the rhetorical structure parse tree, each layer in the rhetorical structure parse tree is provided with two node fragments, each node is provided with an own forgetting gate, child node information is selected through the forgetting gate in a learning process, a cell state is continuously updated, unimportant information is abandoned, core contents are added, and semantic feature expression is improved so as to improve 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
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