A Sentiment Classification Method

A sentiment classification and syntax technology, applied in the field of sentiment classification, can solve the problems of reducing the accuracy of sentiment classification, unable to fully capture semantic information, not considering the context and the relationship between target words and syntax, etc.
CN112686056BActive Publication Date: 2021-07-06SOUTH CHINA NORMAL UNIVERSITY

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Patents(China)
Current Assignee / Owner
SOUTH CHINA NORMAL UNIVERSITY
Publication Date
2021-07-06

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present invention provides an emotion classification method, comprising: obtaining a word embedding matrix corresponding to a context and a word embedding matrix corresponding to a target word; according to the word embedding matrix corresponding to a context, a word embedding matrix corresponding to a target word, and the first semantic activation model, obtaining The context representation of target word semantic enhancement and the target word representation of context semantic enhancement; according to the context representation of target word semantic enhancement, the target word representation of context semantic enhancement and the semantic selection model, the context representation after semantic selection is obtained; according to the semantic integration model, Extract the syntactic representation in the syntactic dependency tree corresponding to the target sentence; obtain the sentiment classification result corresponding to the target word according to the context representation, syntactic representation and the second semantic activation model after semantic selection. Compared with the prior art, the present invention fully captures the semantic information related to the target word in the context, and comprehensively considers the relationship between the context, the target word and syntax, thereby improving the accuracy of emotion classification.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of natural language processing, in particular to an emotion classification method. Background technique

[0002] Since the comments left by users on forums or e-commerce platforms are of great significance to merchants in analyzing user opinions, sentiment analysis has received more and more attention. Sentiment analysis is an important task in Natural Language Processing (NLP), and its purpose is to analyze subjective text with emotional color.

[0003] At present, there are many methods for classifying the sentiment polarity of a sentence or a document as a whole. However, there are usually different target words in a sentence or a document, and the sentiment polarity of the target words may be different. If the overall emotional polarity classification is carried out directly, it will lead to errors in the judgment of the emotional polarity of the target word. Therefore, attribute-level sentiment classi...

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