Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Attribute-level sentiment analysis method based on hierarchical attention mechanism and gate mechanism

A technology of sentiment analysis and attention, applied in the field of sentiment analysis, can solve problems such as inability to recognize

Active Publication Date: 2020-10-23
SHENZHEN POLYTECHNIC +1
View PDF10 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, simple splicing cannot achieve the effect of identifying important words for attribute words in the context
Second, in most attribute-level sentiment analysis work, the results of the attention mechanism between context and attribute words are directly used as the expression of context and attribute words. This paper argues that this approach ignores the role of the original context and attribute word representation to a certain extent

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
  • Attribute-level sentiment analysis method based on hierarchical attention mechanism and gate mechanism
  • Attribute-level sentiment analysis method based on hierarchical attention mechanism and gate mechanism
  • Attribute-level sentiment analysis method based on hierarchical attention mechanism and gate mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] The claims of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments, but this does not constitute any restriction on the present invention. Anyone who makes limited modifications within the scope of the claims of the present invention is still in the claims of the present invention within the scope of protection.

[0072] This example provides an attribute-level sentiment analysis method based on hierarchical attention mechanism and gate mechanism. Taking SemEval2014Task4 and Twitter datasets as examples, it mainly includes the following steps:

[0073] Step S1, after obtaining the comment corpus, preprocess the comment corpus, and use the GloVe word vector index to obtain the context word embedding matrix and the attribute word embedding matrix;

[0074] Specifically, the S1 step includes:

[0075] Step S101, preprocessing the SemEval 2014Task4 and Twitter data sets used in the attribute-level sen...

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 discloses an attribute-level sentiment analysis method based on a hierarchical attention mechanism and a gate mechanism, and aims to make full use of the relationship between contexts and attribute words to make the contexts and the attribute words fully associated. Highlighting the importance of different words in the context and the attribute words so as to improve the attribute-level sentiment analysis precision; the method enriches information in context and attribute word representation, and adopts the scheme that comment corpora are preprocessed, and a context word embedding matrix and an attribute word embedding matrix are obtained through GloVe word vector indexing; inputting the context and the attribute words into the GRU to obtain a context hiding state and an attribute word hiding state; obtaining a context vector representation 1, an attribute word vector representation and a context vector representation 2 through self-attention; splicing to obtain an overall vector representation, obtaining distribution of sentiment polarities, corresponding to contexts, of attribute words through a classifier, analyzing differences, and adjusting parameters in the model; the method belongs to the field of sentiment analysis in natural semantic processing.

Description

technical field [0001] The invention relates to an emotion analysis method, in particular, an attribute-level emotion analysis method based on a hierarchical attention mechanism and a gate mechanism; it belongs to the field of emotion analysis in natural semantic processing. Background technique [0002] In recent years, with the development of the Internet, a large number of consumer platforms and social networking platforms have gradually entered people's lives. Consumers often leave a comment on the pros and cons of a product after consumption on a consumer platform, and netizens also leave their opinions on a certain event. For merchants, these comments containing emotional information are extremely valuable for both enterprises and governments. Enterprises can understand the shortcomings of products by analyzing consumer comments, so as to achieve the purpose of improving product performance. Government It can also guide the development direction of the event by summar...

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/33G06F16/35G06F40/289G06K9/62G06N3/04G06N3/08
CPCG06F16/3344G06F16/35G06F40/289G06N3/049G06N3/08G06N3/047G06N3/048G06N3/045G06F18/2415G06F18/241
Inventor 赵洪雅黎海辉魏东平李瑾
Owner SHENZHEN POLYTECHNIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products