Comment text emotion classification model training and emotion classification method and device and equipment

A technology of emotion classification and model training, which is applied in the field of emotion classification of comment text, emotion model training and emotion classification of comment text, can solve the problem of ignoring the information of the subject of comments and object information of comments, and achieve the effect of improving robustness and accuracy

Active Publication Date: 2018-08-03
NANJING UNIV OF POSTS & TELECOMM
View PDF7 Cites 99 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, most of the current neural network-based text sentiment classification models only consider the emotional semantics related to the

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
  • Comment text emotion classification model training and emotion classification method and device and equipment
  • Comment text emotion classification model training and emotion classification method and device and equipment
  • Comment text emotion classification model training and emotion classification method and device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The technical scheme of the present invention is described in detail below in conjunction with accompanying drawing:

[0044] Such as figure 1 As shown, a comment text sentiment classification model training method disclosed in the embodiment of the present invention mainly includes the following steps:

[0045] (1) Acquire the text of the training set, where each sample text in the training set includes the review text itself, and the review subject (namely reviewer or related organization) and review object (review products, news, etc.) associated with the review text. Review texts and related subject and object information can be obtained from the Internet.

[0046] (2) Convert the words in the comment text of the training set into word vector representations, input them into the first layer Bi-LSTM network, and then combine the forward and backward hidden layer output vectors to multiply the subject and object information associated with the word-level comment text...

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 comment text emotion classification model training and emotion classification method and device and equipment and belongs to the field of text emotion classification in natural language processing. Model training comprises the steps that a comment text and associated subject and object information are acquired; a comment subject and object attention mechanism is fused based on a first-layer Bi-LSTM network to extract sentence-level feature representation; the comment subject and object attention mechanism is fused based on a second-layer Bi-LSTM network to extract document-level feature representation; and a hyperbolic tangent non-linear mapping function is adopted to map document-level features to an emotion category space, softmax classification is adopted to train parameters in a model, and an optimal text emotion classification model is obtained. According to the method, the hierarchical bidirectional Bi-LSTM network model and the attention mechanism are adopted, context semantic robust perception and semantic expression of the text can be realized, the robustness of text emotion classification can be remarkably improved, and the correct rate of classification is increased.

Description

technical field [0001] The present invention relates to comment text sentiment classification, in particular to a comment text sentiment model training and sentiment classification method, device and equipment based on hierarchical bidirectional LSTM (Bidirectional Long Short-Term Memory, Bi-LSTM) and attention mechanism, which belongs to natural language processing technology field. Background technique [0002] The core issue of text sentiment classification is how to effectively represent the emotional semantics of text. With the rapid development of Internet technology, a large number of users have generated valuable comment text information on hot events and products on the Internet, such as Weibo, e-commerce platforms, catering platforms, and so on. These comments contain people's rich emotional colors and emotional tendencies. The purpose of sentiment analysis is to automatically extract and classify users' subjective emotional information on products or events from...

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): G06F17/30G06F17/27
CPCG06F16/35G06F40/30
Inventor 刘天亮王静
Owner NANJING UNIV OF POSTS & TELECOMM
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