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

Text emotion recognition method and device, electronic equipment and storage medium

A technology of emotion recognition and text, applied in the field of machine learning, can solve problems such as accuracy improvement, low accuracy, and limited applicable scenarios, and achieve the effect of improving accuracy

Pending Publication Date: 2021-07-09
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this kind of scheme not only depends on the construction method of the emotional dictionary and the richness of the vocabulary to a large extent, but also can only analyze the emotional tendency of the text from the word granularity and cannot understand the semantics of the text, so the accuracy is low and the applicable scenarios are limited.
[0004] Another type of scheme uses SVM (Support Vector Machine, Support Vector Machine) or naive Bayesian and other machine learning-based classification models to carry out emotion recognition on text, but this type of model has a strong dependence on the selection of word features, and because of the use of Therefore, word vectors are also difficult to fully express semantic information, so it is difficult to use and the accuracy needs to be improved

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0094] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0095] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 text emotion recognition method and device, electronic equipment and a storage medium. The method comprises the steps that a character matrix of a to-be-recognized text is determined, wherein the character matrix is composed of character vectors corresponding to characters in the to-be-recognized text; a position vector of the to-be-recognized text is determined, the position vector being used for representing a position of a target character in the to-be-recognized text, and the target character being a character matching a target emotion in the characters; a text matrix formed by the character matrix and the position vector is input into a pre-trained emotion recognition model, the emotion recognition model is used for extracting context information of the to-be-recognized text from the text matrix, and the matching degree of the to-be-recognized text and the target emotion is determined and output according to the information vector corresponding to the context information. According to the scheme, the context information of the to-be-recognized text can be extracted, and the real semantics of the text can be fully understood, so that the position vector can ensure the accuracy of emotion recognition.

Description

technical field [0001] The present disclosure relates to the field of machine learning, and in particular to a text emotion recognition method, device, electronic device and storage medium. Background technique [0002] Texts such as articles, sentences, and comments can usually reflect the author's emotional tendency, such as the likes and dislikes of a certain thing, the preference for a certain product, etc. Identifying the emotional tendency of the text is the current stage of Natural Language Processing (NLP). ) technology is an important means. At this stage, the industry uses a variety of methods to realize the emotion recognition of text. [0003] One type of scheme is to use sentiment dictionary matching or a classification model based on machine learning to perform sentiment recognition on text. Such schemes usually traverse the text to be recognized from front to back according to the pre-established sentiment lexicon, and then determine the emotional tendency o...

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/295G06F40/284G06F40/242G06N3/04G06N3/08
CPCG06F40/30G06F40/295G06F40/242G06F40/284G06N3/08G06N3/044G06N3/045
Inventor 刘美宁王方舟王文韬
Owner BEIJING DAJIA INTERNET INFORMATION TECH CO LTD