Text sentiment classification method based on hybrid model

A sentiment classification and hybrid model technology, applied in text database clustering/classification, computational models, neural learning methods, etc., can solve problems such as uninterpretable results, high requirements for manual prior knowledge, and cumbersome processes. Achieve good classification effect, enhance interpretability, and improve detection accuracy.

Active Publication Date: 2020-06-19
BEIJING UNIV OF TECH
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The first two classification methods have high requirements for artificial prior knowledge, and need to manually extract features and construct emotional dictionaries. The processing effect is ideal, but the process is cumbersome
The latter feature is automatically extracted by deep learning, and the processing process is simple, but the result is not interpretable and the effect is worse

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
  • Text sentiment classification method based on hybrid model
  • Text sentiment classification method based on hybrid model
  • Text sentiment classification method based on hybrid model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] specific implementation plan

[0074] The principle of this scheme is that the text data is pre-processed and converted into text vectors, and then processed in parallel by the CNN processing layer and the LSTM-Attention processing layer, and finally, together with the classifier trained by machine learning, it passes through the adaptive decision-making layer to realize emotion classification. Model architecture designed as figure 1 shown.

[0075] 5.1 Data processing layer

[0076] Data preprocessing mainly converts text features into digital features; converts each text into a list of numbers; sets each text to the same length; converts each word code into a word vector. The description of the processing algorithm is shown in Algorithm 1:

[0077]

[0078] In step 1, the format of a single data record is a text with a length of no more than 140, and is marked with a positive or negative label; in step 2, the existing word segmentation library jieba is used for ...

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

A text sentiment classification method based on a hybrid model belongs to the field of computer software. The method mainly comprises a data processing layer, a machine learning processing layer, a CNN processing layer, an LSTM-Attention processing layer and an adaptive decision layer. To-be-classified data is respectively processed by the machine learning processing layer, the CNN processing layer and the LSTM-Attention processing layer; and finally, the processing results are input into an adaptive decision-making layer together, and the adaptive decision-making layer adaptively adjusts theweight of each layer of result according to previous classification results of different processing layers, so that a final classification result is obtained. Compared with a single machine learning method and a single deep learning method, the method has the advantages that the processing effect is obvious, the result has good interpretability, and the application prospect is wide.

Description

technical field [0001] The invention designs a text emotion classification method based on a convolutional neural network, a cyclic neural network and an attention mechanism, and belongs to the field of computer software. Background technique [0002] In today's social network environment, netizens can express their personal opinions on a hot event and express their emotional tendencies through news threads, microblogs, post bars, forums and other forms. If sentiment analysis technology is used to obtain netizens' emotional tendencies from massive online comment texts, it will be of great practical significance whether it is to effectively monitor public opinion for government departments or to extract valuable information from it for other related groups. Therefore, this kind of natural language processing problem has attracted widespread attention of researchers. [0003] Currently commonly used text sentiment classification methods include dictionary-based sentiment clas...

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): G06F16/35G06N3/04G06N3/08G06N20/00
CPCG06F16/35G06N3/08G06N20/00G06N3/044G06N3/045
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