Text sentiment classification method and device, electronic equipment and storage medium

A technology of emotion classification and emotion, which is applied in the field of natural language processing and machine learning, can solve problems such as mismatching dictionary coverage, poor and insufficient accuracy of emotion classification, etc., to avoid dictionary coverage problems, improve accuracy, and adapt well Effect

Pending Publication Date: 2020-11-13
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing sentiment classification methods need to rely on external sentiment lexicons or domain knowledge in the process of training classification models,

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Natural Language Processing (NLP) is an important direction in the field of computer science and artificial intelligence. It studies various theories and methods that can realize effective communication between humans and computers using natural language. Natural language processing is a science that combines linguistics, computer science, and mathematics. Therefore, research in this field will involve natural language, that is, the language that people use every day, so it is closely related to the study of linguistics. Natural language processing technologies usually include text processing, semantic understanding, machine translation, robot question answering, knowledge graph and other technologies.

[0031] Specifically, the process of analyzing and processing the target text based on the semantic coding model, emotion generation model and emotion classification model provided by the embodiment of the present invention to obtain the emotion classification result of...

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 natural language processing and machine learning, in particular to a text sentiment classification method and device, electronic equipment and a storagemedium. The method comprises the steps: obtaining a to-be-classified target text, processing the target text, and obtaining a word vector sequence of the target text; processing the word vector sequence by using a pre-trained semantic coding model to obtain a word semantic vector sequence corresponding to the word vector sequence and a semantic vector of the target text; inputting the word vectorsequence, the word meaning vector sequence and the semantic vector into a pre-trained sentiment generation model to obtain a sentiment vector of the target text, wherein the sentiment generation model is an attention-based neural network model; inputting the semantic vector and the sentiment vector into a pre-trained sentiment classification model to obtain a sentiment classification result of the target text. According to the method, dynamically generated emotion vectors are introduced, and therefore the emotion classification accuracy is improved.

Description

technical field [0001] The invention relates to the technical fields of natural language processing and machine learning, in particular to a text emotion classification method, device, electronic equipment and storage medium. Background technique [0002] With the development of Internet technology, there are more and more network products. In the process of using network products or after using network products, users usually input network texts expressing their own needs or opinions, such as inputting problems to be solved in intelligent customer service or voice assistants, or posting comments about the specific service after using a certain service. service reviews, etc. Since the network text contains rich emotional information, which corresponds to the corresponding psychological state of the user, by performing emotional analysis on the network text input by the user to determine its emotional category, an appropriate processing strategy can be determined according t...

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/35G06F40/35G06N3/04
CPCG06F16/35G06F40/35G06N3/044G06N3/045
Inventor 吴双志谢军李沐
Owner TENCENT TECH (SHENZHEN) CO LTD
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