A bidirectional LSTM model emotion analysis method based on attention enhancement

A sentiment analysis and attention technology, applied in the field of text processing, can solve the problems of unsatisfactory sentiment analysis results, and achieve the effect of superior performance

Inactive Publication Date: 2019-05-03
CHINA NAT INST OF STANDARDIZATION +1
View PDF4 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The sentiment analysis results of existing technologi

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 bidirectional LSTM model emotion analysis method based on attention enhancement
  • A bidirectional LSTM model emotion analysis method based on attention enhancement
  • A bidirectional LSTM model emotion analysis method based on attention enhancement

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0049] A sentiment analysis method based on an attention-enhanced bidirectional LSTM model, which combines the attention mechanism with the bidirectional LSTM model, uses the bidirectional LSTM model to learn text semantic information, and uses the attention mechanism to strengthen the focus on key words. The input sentence is represented by the pre-trained word vector, and then learned and r...

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 relates to a bidirectional LSTM model emotion analysis method based on attention enhancement. According to the method, an attention mechanism and a bidirectional LSTM model are combined;text semantic information is learned by using a bidirectional LSTM model; the attention mechanism is used for enhancing attention to key words, the method comprises the steps that firstly, input sentences are expressed through pre-trained word vectors, then expression is conducted through a bidirectional LSTM model and attention model learning, the vectors expressed through the two parts are spliced, and finally text sentiment analysis work is completed through a classifier. According to the method, the semantic information of the text is learned by using bidirectional LSTM; a self-attentionmechanism established on a word vector is used for enhancing the attention degree of emotion keywords in the sentence; A word vector attention mechanism and a bidirectional LSTM are of a parallel structure, experiments show that the model provided by the invention shows superior performance, and exceeds a known best model on a plurality of indexes, so that the requirements of practical applicationcan be well met.

Description

technical field [0001] The invention belongs to the technical field of text processing, and in particular relates to a sentiment analysis method based on an attention-enhanced bidirectional LSTM model. Background technique [0002] With the development of the Internet, the number of Internet users has increased sharply in recent years, and people have produced a large amount of valuable comment information on people, events, products, etc. in the process of information interaction. This information expresses people's various emotional colors and emotional tendencies. Through the mining of emotional information, users' behavior can be better understood, so as to predict the development direction or trend of events. However, with the huge expansion of the information scale, it is impossible to complete the sentiment analysis work only by manual work, so it is of great significance to use computers for efficient and accurate sentiment analysis work. [0003] At present, sentim...

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): G06F16/35G06K9/62G06N3/04G06N3/08
Inventor 曹俐莉吕学强曾毅侯非程永红
Owner CHINA NAT INST OF STANDARDIZATION
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