Text sentiment analysis method and device, computer device and readable storage medium

A technology of sentiment analysis and sentiment classification, which is applied in the field of information processing, can solve problems such as weak generalization of corpus and unsatisfactory recognition accuracy, and achieve the effect of improving efficiency and accuracy and making ranking easier

Active Publication Date: 2020-08-14
招商局金融科技有限公司
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The unsupervised learning method based on the emotional dictionary does not use training data and has strong generalization to different fields, but the recognition accuracy rate for specific fields is not sa

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 device, computer device and readable storage medium
  • Text sentiment analysis method and device, computer device and readable storage medium
  • Text sentiment analysis method and device, computer device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] figure 1 It is a flow chart of the steps of a preferred embodiment of the text sentiment analysis method of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0054] refer to figure 1 As shown, the text sentiment analysis method specifically includes the following steps.

[0055] Step S11, using preset extraction rules to extract multiple target articles from the preset corpus.

[0056]In one embodiment, the source of the corpus in the preset corpus may be a large number of news articles captured by web crawler technology, and the entity list and / or named entity recognition technology may be used to screen from the large number of news articles obtained. The corpus to be processed that needs to be classified into emotions (the corpus to be processed is defined as the target article), the corpus to be processed that is screened out can refer to some companies and personal...

Embodiment 2

[0133] image 3 It is a functional block diagram of a preferred embodiment of the text sentiment analysis device of the present invention.

[0134] refer to image 3 As shown, the text sentiment analysis device 10 may include an extraction module 101, a classification module 102, a scoring module 103, a first processing module 104, a preprocessing module 105, a training module 106, a correction module 107, a second processing module 108 and components Module 109.

[0135] The extraction module 101 is used to extract a plurality of target articles from a preset corpus by using preset extraction rules.

[0136] In one embodiment, the source of the corpus in the preset corpus may be a large number of news articles captured by web crawler technology, and the extraction module 101 may first use the entity list and / or named entity recognition technology to obtain a large number of news articles Screen out the corpus to be processed that needs to be classified into emotions (the c...

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 text sentiment analysis method and device, a computer device and a computer readable storage medium. The method comprises the following steps: extracting a plurality of target articles from a preset corpus by utilizing a preset extraction rule; carrying out sentiment classification on the statement of each target article by utilizing a pre-established sentiment word segmentation dictionary; according to the sentiment classification result of the sentiment, carrying out sentiment scoring on the sentiment of each target article; obtaining an emotion classification result of each target article based on the emotion scoring condition of the statement in each target article; processing each target article in a preset mode to obtain text data after word segmentation; obtaining training data with emotion classification labels according to the text data of each target article and the emotion classification result of each target article, and obtaining an emotion classification model through training based on the training data; and performing sentiment classification on a to-be-processed article by utilizing the sentiment classification model. Article emotion can beaccurately analyzed and classified.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to a text sentiment analysis method, device, computer device and computer-readable storage medium. Background technique [0002] With the rapid development of the mobile Internet, news information is also increasing geometrically. How to quickly understand the overall opinion trend of news in a certain field is a topic worth studying. At the same time, the sentiment analysis of news content can also monitor and control the news more effectively, which is a direction worthy of research. The current methods for text sentiment analysis mainly include unsupervised learning methods based on sentiment lexicons and supervised learning methods based on machine learning algorithms. The unsupervised learning method based on the emotional dictionary does not use training data and has strong generalization to different fields, but the recognition accuracy rate for specif...

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/338G06F16/35G06F40/30
CPCG06F16/338G06F16/35G06F40/30Y02D10/00
Inventor 徐楠张蓓刘屹黄晨万正勇沈志勇高宏
Owner 招商局金融科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products