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

Network text sentiment analysis method based on Bi-GRU neural network and self-attention mechanism

A technology of network text and sentiment analysis, applied in the information field, can solve the problems of increasing parameters and increasing the amount of calculation, and achieve the effect of reducing the amount of calculation, improving the weight of features, and accurately classifying emotions.

Active Publication Date: 2021-03-19
CHONGQING UNIV OF POSTS & TELECOMM
View PDF14 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the LSTM neural network can only capture the forward part of the sentence
Sometimes the semantics of a word in a sentence cannot be expressed correctly only by the historical information of the sentence. At the same time, adding multiple gates to LSTM leads to an increase in parameters, which leads to a substantial increase in the amount of calculation

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
  • Network text sentiment analysis method based on Bi-GRU neural network and self-attention mechanism
  • Network text sentiment analysis method based on Bi-GRU neural network and self-attention mechanism
  • Network text sentiment analysis method based on Bi-GRU neural network and self-attention mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic concept of the present invention, and the following embodiments and the features in the embodiments can be combined with each other in the case of no conflict.

[0044] see Figure 1 ~ Figure 3 , figure 1 Shown is the overall model diagram of the network text sentiment analysis method based on Bi-GRU neural network a...

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 a network text sentiment analysis method based on a BiGRU neural network and a self-attention mechanism, and belongs to the technical field of information. The method comprises the following steps: S1, acquiring network text information, and encoding a text by utilizing a word embedding vector; S2, summarizing forward and backward information of sentences through a Bi-GRUnetwork layer, and then combining the information from the two directions to obtain a final implicit vector; S3, inputting the obtained implicit vector into a multi-layer perceptron to obtain a new implicit representation, then calculating an importance word-level context vector of a word, and performing random initialization and common learning in a training process; and S4, multiplying the implicit vector of each word by a corresponding weight obtained through a self-attention layer, and then performing text sentiment classification through an improved softmax layer. According to the method,the web text sentiment classification accuracy can be effectively improved.

Description

technical field [0001] The invention belongs to the field of information technology, and relates to a network text sentiment analysis method based on a Bi-GRU neural network and a self-attention mechanism. Background technique [0002] People communicate under the Internet through text to convey their emotions. With the help of this extensive communication method, efficient and convenient information and value transmission are realized. Therefore, mining text and the emotional relationship it conveys in the Internet environment not only promotes the research and development of the NLP field, but also has real value in people's actual lives. [0003] Sentiment analysis is currently an important research direction in natural language processing. It is a process of processing, analyzing, summarizing and inferring subjective texts with emotional factors, which can reflect people's views, emotions, and evaluations on injecting products, services, The attitude of entities such as...

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/216G06F40/284G06K9/62G06N3/04G06N3/08
CPCG06F16/3344G06F16/35G06F40/211G06F40/284G06F40/216G06N3/049G06N3/08G06N3/047G06N3/045G06F18/2415G06F18/241
Inventor 付蔚王榆心王彦青张棚刘庆
Owner CHONGQING UNIV OF POSTS & TELECOMM
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