Emotion classifying method and device for text

A technology of emotion classification and emotion, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as inaccurate text emotion classification, and achieve the effect of improving accuracy

Active Publication Date: 2012-09-19
SUZHOU UNIV
View PDF3 Cites 55 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a text sentiment classification method and device to overcome the problem of inaccurate text sentiment classification caused by treating the entire text as an evaluation object for sentiment classification in the prior art

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
  • Emotion classifying method and device for text
  • Emotion classifying method and device for text
  • Emotion classifying method and device for text

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] figure 1 This is a flowchart of a text sentiment classification method disclosed in an embodiment of the present invention, see figure 1 As shown, the method may include:

[0057] Step 101: Select sentiment corpus in the corresponding field of the text to be classified;

[0058] Since the evaluation objects related to different fields are different, although the sentiment classification method of the text disclosed in the embodiment of the present invention is applicable to various fields, it also needs to select sentiment corpus in different fields for different fields; for example, the evaluation objects in the hotel field are general For facilities, environment, service prices, etc.; evaluation objects in the notebook field are generally hard drives, monitors, operating systems, etc.;

[0059] Step 102: Analyze and process the sentiment corpus to obtain sentences marked with different evaluation object categories;

[0060] There are often many evaluation objects in a certain...

Embodiment 2

[0094] Figure 4 It is a schematic structural diagram of a text sentiment classification device disclosed in an embodiment of the present invention, see Figure 4 As shown, the text sentiment classification device 40 may include a preprocessing module 401 and a classification module 402;

[0095] The preprocessing module 401 may include:

[0096] The corpus selection module 4011 is used to select the sentiment corpus of the corresponding field of the text to be classified;

[0097] The sentence tagging module 4012 is used to analyze and process the sentiment corpus to obtain sentences tagged with different evaluation object categories;

[0098] The multi-class classifier construction module 4013 is used to construct a multi-class classifier using the sentences marked with different evaluation object categories as a training set;

[0099] The multi-class classifier construction module 4013 may include a construction sub-module for constructing a multi-class classifier using the maximum e...

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 an emotion classifying method and an emotion classifying device for a text. The method comprises the following steps of: constructing one multi-class classifier through the analysis processing towards an emotional corpus in a relevant field, dividing the text to be classified into sentences of a plurality of evaluation object classes by utilizing the multi-class classifier, respectively constructing one basic emotion classifier by utilizing sentence aggregates of different evaluation objects, so as to judge the emission trends of the sentences of the evaluation object classes, finally, fusing posterior probabilities denoting a same emotion level in the different evaluation object classes, and selecting the emotion level with the large fusion result of the posterior probabilities as the emotion class of the text to be classified. Through the emotion classifying method and the device for the text, which is disclosed by the embodiment of the invention, the evaluation objects are classified into several fixed classes; the emotion trend of the sentence of each evaluation object class is respectively analyzed; the emotion trends of the different evaluation object classes are fused; the emotion class of the text to be classified is judged according to the fusion result; and by using such a method, the accurate rate of the emotion classification of the text is improved greatly.

Description

Technical field [0001] The invention relates to the technical field of natural language processing, and more specifically, to a method and device for text emotion classification. Background technique [0002] With the increasing popularity of computers and the rapid development of the Internet, the Internet has become the main way for users in many fields to post and feedback their personal opinions and comments. These shared comment information not only provide users with a platform for product experience communication, but also serve as a reference for other users before using the product. However, the amount of these comments on the Internet is very large. If you manually read and analyze the comments on each comment, you will waste a lot of time. Therefore, it is very necessary to allow users to objectively understand the overall evaluation situation reflected by the review information of a product in a short time, that is, to perform sentiment analysis and classification of...

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 Applications(China)
IPC IPC(8): G06F17/30G06F17/27
Inventor 李寿山张慧周国栋
Owner SUZHOU UNIV
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