Aspect-level text sentiment classification method and system

A sentiment classification, aspect-level technology, applied in the fields of natural language processing and deep learning, can solve the problem of losing valuable and important information, insufficient to capture context words and sentence syntactic dependencies, etc., to avoid the effect of gradient explosion

Pending Publication Date: 2021-02-09
SHANDONG NORMAL UNIV
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, the inventors found that although attention-based models have achieved good experimental results in many tasks, they are not enough to capture the syntactic dependencies between contextual words and aspects in sentences, and the attention module may suffer from grammatical Some irrelevant words will be highlighted due to the lack of missing, and some valuable and important information will be lost. Therefore, there are obvious limitations in solving the dependency problem between multiple words in aspect-level sentiment analysis.

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
  • Aspect-level text sentiment classification method and system
  • Aspect-level text sentiment classification method and system
  • Aspect-level text sentiment classification method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] Such as figure 1 As shown, this embodiment provides a method for aspect-level text sentiment classification, including:

[0035] S1: Extract the long-distance dependent features of the sentence text according to the obtained local feature vector of the sentence text, and obtain the context feature representation of the sentence text;

[0036] S2: According to the contextual feature representation of the sentence text, construct the syntactic dependency relationship between words in the sentence text, and obtain the aspect-level feature representation of the sentence text;

[0037] S3: Construct a dependency tree-based graph attention neural network, and obtain the aspect-level sentiment category of the text according to the aspect-level feature representation of the sentence text.

[0038] In the step S1, the sentence text to be processed is obtained, and the sentence text to be processed is preprocessed by using GloVE word embedding, and each word is serialized to obt...

Embodiment 2

[0092] This embodiment provides an aspect-level text sentiment classification system, including:

[0093] The context feature representation module is used to extract the long-distance dependent feature of the sentence text according to the local feature vector of the sentence text obtained, and obtain the context feature representation of the sentence text;

[0094] The aspect-level feature representation module is used to construct the syntactic dependency relationship between words in the sentence text according to the context feature representation of the sentence text, and obtain the aspect-level feature representation of the sentence text;

[0095] The sentiment classification module is used to construct a graph attention neural network based on a dependency tree, and obtain the aspect-level sentiment category of the text according to the aspect-level feature representation of the sentence text.

[0096] It should be noted here that the above-mentioned modules correspond...

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 aspect-level text sentiment classification method and system, and the method comprises the steps: extracting the long-distance dependence features of a sentence text according to the obtained local feature vectors of the sentence text, and obtaining the context feature representation of the sentence text; constructing a syntactic dependency relationship among words in the sentence text according to the context feature representation of the sentence text to obtain aspect-level feature representation of the sentence text; and constructing a dependency tree-based graphattention neural network, and obtaining aspect-level emotion categories of the text according to aspect-level feature representation of the sentence text. The method comprises the steps of extractinglocal feature information in a sentence by adopting a convolutional neural network, learning pooled features of the convolutional neural network by utilizing a bidirectional long-short-term memory network, obtaining context information of the sentence, constructing a dependency tree-based graph attention network model, and modeling a sentence dependency relationship by utilizing syntactic information of a dependency tree, thereby improving the performance of sentiment classification.

Description

technical field [0001] The invention relates to the technical fields of natural language processing and deep learning, in particular to an aspect-level text sentiment classification method and system. Background technique [0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art. [0003] Sentiment analysis is one of the most active research fields in natural language processing and an important task in text mining, also known as opinion mining. Most sentiment analysis work is at the text level and sentence level. Since the sentiment expressed by a word in different environments may be opposite, aspect-level sentiment analysis is used. [0004] Aspect-level sentiment analysis is a fine-grained task in the field of sentiment classification. Its goal is to predict the sentiment polarity of aspects appearing in a given text based on a given opinion sentence and evaluation aspect, c...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/35G06F40/205G06F40/284G06N3/04G06N3/08
CPCG06F16/353G06F40/205G06F40/284G06N3/084G06N3/044G06N3/045
Inventor 鲁燃李筱雯刘杰刘培玉朱振方
Owner SHANDONG NORMAL UNIV
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