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

Social text sentiment classification method and system based on text graph neural network

A neural network and emotion classification technology, applied in the field of social text emotion classification methods and systems, can solve the problems of ignoring speech correlation features, time-consuming training, and inability to explain the final decision semantics, etc., to achieve accurate emotion classification

Pending Publication Date: 2022-04-08
NAT UNIV OF DEFENSE TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage of the deep learning model is high accuracy, but there are also some obvious disadvantages, such as time-consuming training, and the inability to explain the semantics of the final decision, etc.
[0007] For example, the input of the deep neural network is independent speech, and the contextual features between long-distance words are fused together through the attention mechanism, but the correlation features between speeches are ignored, and this type of deep learning method cannot be interpreted

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
  • Social text sentiment classification method and system based on text graph neural network
  • Social text sentiment classification method and system based on text graph neural network
  • Social text sentiment classification method and system based on text graph neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] The present invention will be further described below in conjunction with embodiment and accompanying drawing. figure 1 A flow chart of a social text sentiment classification method based on a text graph neural network in an embodiment of the present invention is shown. to combine figure 1 As shown, in the embodiment of the present invention, the method includes the following steps:

[0073] Step S100: Receive the target text, and remove outliers in the received text; in the embodiment of the present invention, the target text is mainly some sentences, paragraphs, etc., and the words with lower frequency in the text are mainly removed, and Punctuation marks and URL links etc.

[0074] Step S200: Use the BERT model to obtain the word embedding of the target text. The so-called word embedding refers to converting a word into a vector representation.

[0075] First explain the BERT encoder. BERT essentially learns a good feature representation for words by running a se...

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 social text sentiment classification method and system based on a text graph neural network, and belongs to the technical field of natural language processing. Comprising the following steps: receiving a target text, and removing an abnormal value in the received text; obtaining word embedding of the target text by utilizing a BERT model; obtaining emotional polarity characteristics of the target text, calculating an emotional score of each word of the target text by using a SentiWordnet emotional dictionary source, and taking a final score of each word as the emotional polarity characteristics of the word; splicing the word embedding and sentiment polarity features of the target text to form an initial word vector; and constructing the target text into a text graph structure, taking the initial word vector as a node initial feature of a text graph, then performing feature extraction by using a text graph neural network message passing mechanism, and finally performing sentiment classification on the extracted feature. The method not only considers the context features in the speech, but also considers the mutual relation between the speech, so that the sentiment classification is more accurate.

Description

technical field [0001] The present invention relates to natural language processing technology, in particular to a social text sentiment classification method and system based on a text graph neural network. Background technique [0002] Regarding the sentiment analysis of social media speech, a lot of research and exploration have been carried out at home and abroad. At present, the methods for social media sentiment classification can be divided into two categories: sentiment analysis based on semantic dictionary and sentiment classification based on machine learning. [0003] Emotional words refer to words with emotional tendencies. The identification methods of emotional words in social media can be divided into methods using dictionaries to calculate similarity, and statistical methods based on large-scale corpora. [0004] The discrimination method based on the sentiment dictionary is to use the dictionary to directly judge the polarity of the corresponding words, and...

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/35G06F40/242G06F40/289G06F40/30G06N3/04G06N3/08
Inventor 曹建军皮德常翁年凤胥萌丁鲲袁震江春
Owner NAT UNIV OF DEFENSE TECH
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