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

Semantic fragment-oriented target emotion analysis method, device and equipment and medium

A sentiment analysis and target technology, applied in semantic analysis, natural language data processing, instruments, etc., can solve problems such as the influence of target sentiment analysis task accuracy, wrong matching, etc.

Active Publication Date: 2022-07-05
SICHUAN UNIV
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the attention mechanism only pays attention to the relationship between words, it is easy to make mistakes between specific targets and other irrelevant words.
For example, in the sentence "The bed is so good and so comfortable butornament of this room is really ugly.", the attention mechanism will mistakenly assign the same weight to "good", "comfortable" and "ugly" before and after the target "ornament". weight, thus causing the accuracy of the target sentiment analysis task to be affected

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
  • Semantic fragment-oriented target emotion analysis method, device and equipment and medium
  • Semantic fragment-oriented target emotion analysis method, device and equipment and medium
  • Semantic fragment-oriented target emotion analysis method, device and equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments.

[0052] The components of the embodiments of the invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present invention.

[0053] Hereinafte...

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 a semantic-fragment-oriented target sentiment analysis method, device and equipment and a medium, and is applied to the field of target sentiment analys.The method comprises the steps that a text sample is input into an embedding layer, and a sentence word vector, a context word vector and a target word vector are obtained; encoding the sentence word vector, the context word vector and the target word vector by using an attention encoding layer to obtain a corresponding hidden state representation; inputting the hidden state representation of the context and the target word into a multi-head attention layer to obtain a target context semantic feature representation; inputting the sentence hidden state representation into a structured self-attention layer to obtain sentence segmentation semantic feature representation; and inputting the target context semantic feature representation and the sentence segmentation semantic feature representation into a prediction layer to obtain a target word sentiment prediction result. Therefore, according to the method, the model focuses on each semantic segment, so that the noise on words is inhibited, and the accuracy of the target sentiment analysis task is improved.

Description

technical field [0001] The present invention relates to the field of target sentiment analysis, in particular to a semantic segment-oriented target sentiment analysis method, device, device and medium. Background technique [0002] The Targeted Sentiment Analysis (TSA) task refers to judging the sentiment polarity of a specific target in a sentence. [0003] At this stage, the technology uses an attention mechanism to capture the relationship between a specific target in a sentence and other words / phrases in the sentence, that is, the weight. However, since the attention mechanism only pays attention to the relationship between words, it is prone to the wrong collocation of a specific target and other irrelevant words. For example, in the sentence "The bed is so good and so comfortable butornament of this room is really ugly.", the attention mechanism mistakenly assigns the same value to "good", "comfortable" and "ugly" before and after the target "ornament" weights, thus ...

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): G06F40/30G06F40/211G06F40/284G06N3/04
CPCG06F40/30G06F40/211G06F40/284G06N3/049G06N3/044
Inventor 琚生根邓航李怡霖鄢凡力
Owner SICHUAN UNIV
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