Emotion analysis method and system, storage medium and equipment

A sentiment analysis and coefficient technology, applied in storage media and equipment, sentiment analysis methods, and system fields, can solve problems affecting efficiency and accuracy, different importance, complex tasks, etc., and achieve the effect of precise analysis

Active Publication Date: 2019-12-27
SOUTH CHINA NORMAL UNIVERSITY +1
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that a review sentence may involve the subjective opinions of multiple target words, and the research purpose of specific target sentiment analysis is to mine the target words in the sentence and analyze their emotional polarity, which is more granular than sentence or document level sentiment analysis. More detailed, belonging to fine-grained sentiment analysis; since specific target sentiment analysis first needs to identify the target words in the comment sentence, and then analyze its emotional polarity, it is more complex than sentence or document level sentiment analysis tasks
[0004] When performing sentiment analysis on a specific target in the prior art, the sentence is often split to model, and the split words are modeled indiscriminately for the sentiment analysis of the specific target. Analysis tasks have different importance, simply splitting them and modeling them indifferently affects the efficiency and accuracy of the specific target sentiment analysis task

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
  • Emotion analysis method and system, storage medium and equipment
  • Emotion analysis method and system, storage medium and equipment
  • Emotion analysis method and system, storage medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0094] see Figure 1-2 , the present invention provides a kind of emotion analysis method, comprises the following steps:

[0095] Step S1: Obtain the target word and context in the user corpus; specifically, the user corpus collects user comment corpus through the SemEval2014 evaluation data set, and the SemEval-2014 evaluation data set is a mainstream data set for sentiment analysis, including a notebook (Laptop) In the two fields of Restaurant and Restaurant, the evaluation data set in each field is divided into training data, verification data (separated from training data) and test data. And perform preprocessing on the corpus including but not limited to word segmentation processing and stop word processing, and divide the user corpus into context parts containing n words and the target word part containing m words in, represents the i-th word of the context, Indicates the jth word of the target word;

[0096] Step S2: Match the words in the target word with the...

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 an emotion analysis method and system. The method comprises: using hidden layer outputs of the context embedding matrix and the target word embedding matrix as calculation parameters; and calculating attention mechanism coefficients of the context and the target word based on an attention mechanism, and performing weighted summation on the context vector and the target word vector according to the attention mechanism coefficients to obtain a new context vector and a new target word vector. Compared with the prior art, the influence coefficient between the target word and the context is calculated by using the attention mechanism, the importance of different words in the target word is distinguished, and the accurate analysis of the emotion of the target word is realized.

Description

technical field [0001] The present invention relates to the field of natural language processing, in particular to an emotion analysis method, system, storage medium and equipment. Background technique [0002] Natural language processing (NLP) involves the interaction between computers and human natural language, which provides morphological, syntactic and semantic tools to transform stored text from raw data to useful information. Natural language processing has always been considered one of the core issues in artificial intelligence research, because language not only plays an important role in human intelligence, but also has the potential to greatly benefit human daily life. Since 1950, NLP technology has come a long way. The most common application in our life - search engine, is a tool that uses NLP technology to facilitate users to retrieve information. [0003] Sentiment analysis is an important research direction of NLP, and its purpose is to identify the emotion...

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/35
CPCG06F16/353
Inventor 黎海辉古东宏赵洪雅薛云
Owner SOUTH CHINA NORMAL UNIVERSITY
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