Unlock instant, AI-driven research and patent intelligence for your innovation.

A Recurrent Neural Network Text Sentiment Analysis Method Embedded with Logical Rules

A recurrent neural network and sentiment analysis technology, applied in the field of data processing, can solve the problems of inexplicability, counter-intuition, and time-consuming, and achieve the effect of short training time, improved accuracy, and simple training.

Active Publication Date: 2020-04-10
GUANGDONG UNIV OF TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] As a sequence model, the cyclic neural network has achieved great success and is widely used in many natural language processing tasks, such as language recognition, machine translation, sentiment analysis, entity recognition, etc., which makes more and more people believe in the cyclic neural network. It can be a good language model, but there are still many shortcomings in the cyclic neural network. For example, the training of the cyclic neural network takes a lot of time, and the high-precision model depends on a large amount of data. Simple data learning often leads to inexplicable sex and counterintuitive

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
  • A Recurrent Neural Network Text Sentiment Analysis Method Embedded with Logical Rules
  • A Recurrent Neural Network Text Sentiment Analysis Method Embedded with Logical Rules
  • A Recurrent Neural Network Text Sentiment Analysis Method Embedded with Logical Rules

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The specific embodiment of the present invention will be further described below in conjunction with accompanying drawing:

[0042] Such as figure 1 , figure 2 Shown, a kind of cyclic neural network text emotion analysis method of embedding logic rule is characterized in that, comprises the following steps:

[0043] S1), use the data collection tool to grab the text corpus used for training, mark the text corpus with emotion category, and then divide the text corpus of emotion mark into two sets of training set corpus and test set corpus,

[0044] S2), in conjunction with the lexicon related to the text corpus and the Ansj word segmentation tool, the training set corpus and the test set corpus in step S1) are subjected to word segmentation processing, and stop word processing;

[0045] S3), adopting word2vec algorithm to do word segmentation in step S2), remove the training set corpus and the test set corpus after stop words are trained, obtain corresponding word vec...

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 present invention provides a cyclic neural network text sentiment analysis method embedded with logic rules, by grabbing the text corpus used for training, carrying out emotion category marking, and then dividing the text corpus of emotion marking into training set corpus and test set corpus, and Perform word segmentation processing and stop word processing on it, and then use the word2vec algorithm to train the training set corpus and test set corpus after word segmentation processing and remove stop words, obtain corresponding word vectors, and combine the training set corpus and test set corpus Collecting corpus and inputting the existing knowledge base in combination with the probability graph model for analysis and processing, and embedding the first-order logic rules into the cyclic neural network through the logic cyclic neural network structure (Logic-RNN and Logic-LSTM), on the one hand, the present invention can achieve Controlling the training direction of the cyclic neural network is more inclined to human intuition. On the other hand, it improves the accuracy of text sentiment analysis. This method can also be used in other fields of natural language processing and machine learning.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a text sentiment analysis method for embedding logic rules in Recurrent Neural Networks (RNNs). Background technique [0002] With the development of Internet technology and the rise of web2.0, the Internet has gradually changed from a static information carrier to a platform for people to obtain information, express opinions, and exchange emotions. People share, comment, and express their opinions on various things online. , Opinions, such as comments on movies, news, stocks, etc. These comments are self-evident for the importance of the government, enterprises, consumers, etc. However, with the explosive growth of online comment data, relying on manual processing of massive text data Acquisition, processing, analysis, and prediction are impractical, so using automated tools to quickly obtain valuable information from a large amount of text has become an urgent need for ...

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 Patents(China)
IPC IPC(8): G06F40/289G06F40/30G06F40/205G06F16/36G06N3/04G06N3/08
CPCG06F16/367G06N3/082G06F40/205G06F40/289G06F40/30G06N3/045
Inventor 郝志峰蔡晓凤蔡瑞初温雯王丽娟陈炳丰
Owner GUANGDONG UNIV OF TECH