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

Movie comment sentiment classification method and device based on graph neural network

A technology of emotion classification and neural network, applied in the direction of neural learning method, biological neural network model, neural architecture, etc., can solve problems such as low efficiency and dependence, and achieve the effect of improving accuracy

Pending Publication Date: 2022-05-24
ZHEJIANG UNIV OF TECH
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, such a method relies too much on manual feature extraction, which is relatively inefficient.

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
  • Movie comment sentiment classification method and device based on graph neural network
  • Movie comment sentiment classification method and device based on graph neural network
  • Movie comment sentiment classification method and device based on graph neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0042] In one embodiment, such as figure 1 As shown, a method for sentiment classification of movie reviews based on graph neural network is provided, including:

[0043] Step S1, collect the movie review text data set, preprocess each movie review text to obtain a text vocabulary, express the words in the text vocabulary with embedding vectors, and obtain the word embedding vector matrix of the movie review text.

[0044] Collect a movie review text data set, the number of texts is B, the data set includes the text content of movie reviews, and the emotional labels corresponding to the tex...

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 movie comment sentiment classification method and device based on a graph neural network, and the method comprises the steps: constructing a graph data structure based on the specific grammar information of a text sentence and the window co-occurrence relation of text words, obtaining the adjacent matrixes of a text co-occurrence graph and a syntactic dependency graph respectively, and carrying out the classification of the movie comment sentiment. Further inputting the word embedded vector matrix and the adjacent matrix into a graph convolutional network module to obtain a weighted feature matrix, and performing pooling operation on the weighted feature matrix of the text co-occurrence graph and the weighted feature matrix of the syntactic dependency graph by adopting a mixed pooling module; and obtaining a feature vector of the text co-occurrence graph and a feature vector of the syntactic dependency graph, fusing the feature vectors, and inputting the fused feature vectors into a classifier to obtain a classification result. According to the method, the network representation obtained by learning not only contains the information of adjacent words, but also contains the information of relatively far words related to grammatical relationships, so that the accuracy of sentiment classification is improved.

Description

technical field [0001] The present application belongs to the technical field of natural language processing, and in particular relates to a method and device for sentiment classification of movie reviews based on a graph neural network. Background technique [0002] We are currently in an era of the Internet and big data. Massive data in various forms are generated every day, such as text, voice, video, etc., and text data accounts for a large part of it. With the rapid development of the cultural industry, the number of movies released each year is increasing, which brings various movie reviews. For example, there are a large number of movie reviews on Douban, Maoyan and other well-known movie websites. It becomes a key issue to dig out useful information from reviews, and an important step is to classify the sentiment of these movie reviews. [0003] Sentiment classification is a fundamental and important task in natural language processing. Early sentiment classificati...

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/33G06F16/35G06F40/211G06F40/289G06K9/62G06N3/04G06N3/08
CPCG06F16/3344G06F16/35G06F40/289G06F40/211G06N3/08G06N3/047G06N3/048G06N3/045G06F18/25G06F18/2415G06F18/241
Inventor 杨旭华陶进张宇辰徐新黎
Owner ZHEJIANG UNIV OF 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