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

A positive and negative sentiment analysis method, terminal device and storage medium

A sentiment analysis and face analysis technology, applied in the field of text analysis, can solve problems such as time-consuming and laborious, and achieve the effect of improving the effect of sentiment analysis

Active Publication Date: 2022-07-15
XIAMEN MEIYA PICO INFORMATION
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in special industries, it is possible to manually collect high-quality emotional knowledge bases. Sentiment analysis in special industries is relatively less dependent on semantics, and good results can be obtained through emotional knowledge bases, but collecting a large number of industry-labeled samples is time-consuming. strenuous

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 positive and negative sentiment analysis method, terminal device and storage medium
  • A positive and negative sentiment analysis method, terminal device and storage medium
  • A positive and negative sentiment analysis method, terminal device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] The embodiment of the present invention provides a positive and negative sentiment analysis method, such as figure 1 As shown, the method includes the following steps:

[0036] S1: Build and maintain industry keyword rules and industry sentiment dictionaries corresponding to different industries.

[0037] The industry sentiment dictionary contains subject words that can represent the type of the industry. For example, the subject words of the police-related industry include: police, jc, traffic police, etc., and emotion words that can represent the industry's emotion.

[0038] Each industry may correspond to one or more industry keyword rules, and each industry keyword rule is a Boolean operation between multiple keywords. For example, the format of the industry keyword rule set in this embodiment is: word 1 ||Word2||Word3&&Word4&&! Word 5, where: || means logical OR operation, && means logical AND operation, ! Indicates the logical NOT operation, and "()" can be use...

Embodiment 2

[0072] The present invention also provides a positive and negative sentiment analysis terminal device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the present invention when the processor executes the computer program. The steps in the above method embodiment of the first embodiment of the invention.

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 positive and negative sentiment analysis method, a terminal device and a storage medium. The method includes: S1: constructing and maintaining industry keyword rules and industry sentiment dictionaries corresponding to different industries; S2: judging whether the text data to be analyzed contains Contains the keywords contained in the industry keyword rules, if included, go to S3; otherwise, go to S4; S3: According to the industry to which the keyword belongs and the industry keyword rules corresponding to the industry, after judging all industries to which the text data belongs , calculate the sentiment score of each industry according to the industry sentiment dictionary corresponding to each industry, and then obtain the positive and negative sentiment analysis results of the text data; S4: obtain the sentiment positive and negative analysis results of the text data through the trained machine learning model. The invention adopts the emotion analysis method based on the fusion of industry emotion words and machine learning models, divides and conquers network texts, and improves the analysis effect.

Description

technical field [0001] The invention relates to the technical field of text analysis, in particular to a positive and negative sentiment analysis method, a terminal device and a storage medium. Background technique [0002] The explosive growth of network data has put forward more and higher requirements for data analysis. Text analysis and mining technology is a widely used technology at present. It extracts the semantic content of the text through corresponding technologies and methods, and then performs a series of operations such as classification, clustering, positive and negative sentiment analysis, etc. Product recommendation, public opinion analysis, text search and other fields. [0003] In public opinion analysis, it is necessary to sort out and analyze the public opinions on the Internet under different themes, such as analyzing the positive and negative sentiments of the collected texts, and automatically identify the positive and negative sentiments of the post...

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): G06F16/35G06F16/36G06N3/04G06N3/08
CPCG06F16/353G06F16/374G06N3/08G06N3/044G06N3/045
Inventor 马涛栾江霞章正道徐晓文
Owner XIAMEN MEIYA PICO INFORMATION
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