Sentiment classification method and device

A technology of emotion classification and emotion, which is applied in the field of data processing, can solve problems such as difficult to accurately obtain features and inaccurate emotion classification results, and achieve the effect of improving accuracy and enhancing judgment ability

Pending Publication Date: 2021-11-30
BEIJING UNIV OF TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides an emotion classification method and device, which are used to solve the defect in the prior art that it is difficult to accurately obtain emotion-related features only based on text data or voice data, resulting in inaccurate emotion classification results, and realize accurate classification of emotions

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 device
  • Sentiment classification method and device
  • Sentiment classification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0060] In the description of the present application, relevant descriptions such as "first", "second" and "third" are only used to distinguish descriptions, and should not be understood as indicating or implying relative importance.

[0061] Combine below figure 1 Describe the emotion classification method of the present invention, comprising: Step 101, input various emotion data of target o...

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 sentiment classification method and device. The method comprises the following steps: inputting various sentiment data of a target object into corresponding feature extraction modules in a classification model, and outputting first feature vectors of the various sentiment data; inputting the first feature vectors of all the sentiment data into a feature fusion module in the classification model, and outputting second feature vectors after the first feature vectors of all the sentiment data are fused; forming the first feature vectors and the second feature vectors of the various sentiment data into input vectors, inputting the input vectors into corresponding attention mechanism modules in the classification model, and outputting third feature vectors of the various sentiment data; and splicing the third feature vectors of all the sentiment data, inputting the spliced third feature vectors into a classification module of the classification model, and outputting a sentiment category of the target object. According to the invention, sentiments of the target object are classified by fusing the various sentiment data of the target object, and the accuracy of a classification result is effectively improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an emotion classification method and device. Background technique [0002] Sentiment classification is widely used in medicine, policing, and recruitment. Accurate emotion classification can effectively assist doctors to formulate corresponding treatment plans for patients. [0003] In the prior art, a single data information is usually used to classify emotions, such as using a convolutional neural network to perform feature extraction on the spectrogram of the speech data, and then classifying the speech data for emotion; or using Bert (Bidirectional Encoder Representation From Transformer, two-way encoder) model and Transformer model etc. perform feature extraction on text data, and perform sentiment classification on text data. [0004] However, since there are many factors that affect emotion evaluation, it is difficult to accurately obtain emotion-related features...

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): G06K9/62G06N3/04G06F16/33
CPCG06F16/3344G06N3/044G06F18/253G06F18/214
Inventor 李建强董向民付光晖邸远航
Owner BEIJING UNIV OF 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