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

Text emotion recognition method, device, server and storage medium

An emotion recognition and text technology, applied in the information field, can solve the problems of inability to obtain emotion classification results, wrong emotion classification results, and inability to update the keyword thesaurus at any time, so as to achieve good comfort, reduce workload, and improve accuracy. Effect

Active Publication Date: 2020-04-14
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, for some specific sentence structures, accurate sentiment classification results cannot be obtained only based on keyword recognition.
For example, "the product is not bad", when the existing technology is used for recognition, two keywords "not" and "bad" can be identified, and since both keywords belong to negative emotional words, the final emotion obtained The classification result is a negative evaluation, but the evaluation is actually a positive evaluation, so the wrong sentiment classification result is obtained by using the existing technology
In addition, for some new words, because the keyword thesaurus cannot be updated at any time, it will also lead to wrong sentiment classification results

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 emotion recognition method, device, server and storage medium
  • Text emotion recognition method, device, server and storage medium
  • Text emotion recognition method, device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Figure 1a It is a flow chart of the text emotion recognition method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of performing emotion recognition on text input by users, such as user comments, and the method can be executed by a text emotion recognition device , the emotion recognition device can be realized by means of software and / or hardware, and integrated in the server. refer to Figure 1a , the emotion recognition method provided in this embodiment specifically includes:

[0031] S110. Obtain the text to be classified.

[0032] Among them, the text to be classified is a short text with emotional information input by the user. For example, the user's evaluation of a certain product, or the mood diary entered by the user.

[0033] When obtaining the text to be classified, it may be to obtain the text input by all users within the set time interval through the network; it may also be to obtain the text input by...

Embodiment 2

[0071] figure 2 It is a flow chart of the text emotion recognition method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments, refer to figure 2 , the emotion recognition method provided in this embodiment specifically includes:

[0072] S210. Obtain an erroneous emotion recognition result obtained by the Bayesian classifier when recognizing historical text to be classified within a preset time period.

[0073] Specifically, the staff of the server can regularly sample and check the emotion recognition results of the historical texts to be classified obtained by the Bayesian classifier to find the wrong emotion recognition results in the emotion recognition results and mark them so that the server can obtain When the result of emotion recognition is incorrect, it is only necessary to find the corresponding mark.

[0074] S220. Analyze the historical text to be classified corresponding to the errone...

Embodiment 3

[0084] image 3 The flow chart of the text emotion recognition method provided by the third embodiment of the present invention, this embodiment is embodied on the basis of the above-mentioned embodiments, refer to image 3 , the emotion recognition method provided in this embodiment specifically includes:

[0085] S310. Obtain an erroneous emotion recognition result obtained by the Bayesian classifier when recognizing historical text to be classified within a preset time period.

[0086] Wherein, the preset time period may be set according to actual conditions, for example, every three days or every week.

[0087] S320. Identify key information in the historical text to be classified corresponding to the erroneous emotion recognition result.

[0088] Specifically, the key information includes: sentence structure, keywords and / or high-frequency error word segmentation, and the grammatical position to which the high-frequency error word segmentation belongs. The high-frequen...

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 embodiment of the invention discloses a text emotion recognition method, device and server and a storage medium. The emotion recognition method includes the steps that a text to be classified is obtained; the text to be classified is recognized based on a set recognition rule; if the text to be classified meets the set recognition rule, the emotion classification corresponding to the recognition rule serves as the emotion recognition result of the text to be classified; if the text to be classified does not meet the set recognition rule, a Bayes classifier is used for recognizing the text to be classified to determine the emotion recognition result of the text to be classified. The text can be recognized emotionally and classified accurately by adopting the method.

Description

technical field [0001] Embodiments of the present invention relate to information technology, and in particular to a text emotion recognition method, device, server and storage medium. Background technique [0002] With the rapid development of the Internet, the number of users of various Internet products has increased sharply, and more and more users are accustomed to sharing their experience about Internet products online, such as users' experience in using Internet products, and Internet The experience of using the product to provide the service. Generally speaking, this type of user experience usually contains users' subjective emotional information, and operators of Internet products usually collect such subjective emotional information in order to improve Internet products based on these subjective emotional information. Therefore, user experience has become the core criterion for product design and operational services. [0003] Due to the huge number of user group...

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/35G06F40/289G06F40/30
CPCG06F16/35G06F40/289G06F40/30
Inventor 刘坤
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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