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

Text sentiment analysis method and system based on reinforcement learning

A technology of sentiment analysis and reinforcement learning, which is applied in text database clustering/classification, unstructured text data retrieval, semantic analysis, etc. It can solve problems such as time-consuming and labor-intensive construction, complex sentiment dictionary construction, and poor scalability

Inactive Publication Date: 2020-11-13
汪金玲
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing text sentiment analysis technology, there are mainly sentiment analysis methods based on sentiment lexicon and machine learning. Among them, the sentiment lexicon-based method first needs to create a sentiment lexicon, and then according to the emotional tendency of words or phrases in the lexicon and Intensity information, to realize the sentiment classification of text, the advantage of this method is that it does not need to label the data set, but it also has some shortcomings, such as poor scalability, not only depends on the model and quality of the dictionary, but also depends on the rules In addition, the construction of the emotional dictionary is very complicated, time-consuming and labor-intensive, and the matching process requires complete and accurate matching; while the sentiment analysis method based on machine learning has problems such as the difficulty of effective feature selection and the lack of labeled training corpus

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
  • Text sentiment analysis method and system based on reinforcement learning
  • Text sentiment analysis method and system based on reinforcement learning
  • Text sentiment analysis method and system based on reinforcement learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0098] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0099] By proposing a text sentiment analysis model based on reinforcement learning and optimization algorithms, using sentiment analysis results as rewards, the training of model parameters is realized, and emotional factors are added to effectively help the model choose the sentiment of words that conform to prior knowledge, and finally realize the text sentiment analysis. refer to figure 1 As shown, it is a schematic diagram of a text sentiment analysis method based on reinforcement learning provided by an embodiment of the present invention.

[0100] In this embodiment, the text sentiment analysis method based on reinforcement learning includes:

[0101] S1. Obtain the text to be analyzed for sentiment analysis, perform word segmentation processing on the text for sentiment analysis by using the two-way maximum ...

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 the technical field of text sentiment analysis, and discloses a text sentiment analysis method based on reinforcement learning, which comprises the following steps of: obtaining a text to be subjected to sentiment analysis, and performing word segmentation processing on the text to be subjected to sentiment analysis by utilizing a bidirectional maximum matching method to obtain a word segmentation text of the text to be subjected to sentiment analysis; calculating the association strength between words in the word segmentation text by utilizing the dependency graph; according to the association strength between the words, iteratively calculating importance scores of the words by utilizing a TextRank algorithm so as to obtain keywords in the word segmentation text;converting the word segmentation text keywords into word vectors by using a Huffman tree; and performing sentiment classification on the word vectors by utilizing a sentiment classification model based on reinforcement learning, and adding sentiment factors into the sentiment classification model to optimize the model. The invention further provides a text sentiment analysis system based on reinforcement learning. According to the invention, sentiment analysis of the text is realized.

Description

technical field [0001] The invention relates to the technical field of text sentiment analysis, in particular to a text sentiment analysis method and system based on reinforcement learning. Background technique [0002] With the development of Internet technology and the improvement of people's living standards, the Internet has entered thousands of households, and more and more users like to express their views and opinions online. Nowadays, there are a large number of short texts with strong subjectivity and refined words published by users on various Internet platforms such as e-commerce platforms, social networking sites, Weibo, and Twitter. These views and attitudes are helping businesses grasp market conditions and assist consumers. For consumption decision-making and corporate crisis public relations, how to complete sentiment analysis of short texts has become a hot topic in current research. [0003] In the existing text sentiment analysis technology, there are mai...

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): G06F40/30G06F40/284G06F16/35G06N3/04
CPCG06F40/30G06F40/284G06F16/35G06N3/044G06N3/045
Inventor 汪金玲
Owner 汪金玲
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