Sentiment classification method based on adversative sentence semantic block partitioning mechanism

A technology of emotion classification and semantic blocks, applied in natural language data processing, special data processing applications, instruments, etc., can solve problems such as complex text emotion classification, ignoring sentence structure features, and difficulty in obtaining results

Active Publication Date: 2018-08-10
HEFEI UNIV OF TECH
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These comment information in real life not only have emotional words that can express the emotional polarity, but also contain transition words to make the comment information have both positive and negative emotions at the same time. This feature makes the text sentiment classification problem more complicated and also makes the Traditional data mining algorithms and existing machine learning methods face severe challenges:
[0003] One of the challenges: the traditional unsupervised classification method based on the sentiment dictionary, which analyzes the emotional polarity of the words in the sentence through the sentiment dictionary, and determines the overall emotional tendency of the sentence by simply summing the polarities of these words. The importance of words It is obviously difficult to get better results without distinction;
[0004] Challenge 2: The text sentiment analysis method based on machin

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
  • Sentiment classification method based on adversative sentence semantic block partitioning mechanism
  • Sentiment classification method based on adversative sentence semantic block partitioning mechanism
  • Sentiment classification method based on adversative sentence semantic block partitioning mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In this example, if figure 1 As shown, an emotion classification method based on the semantic block division mechanism of transitional sentences is carried out as follows:

[0044] Step 1: Word vector representation of samples in training set and test set

[0045] Step 1.1 Build word vector dictionary D

[0046] Obtain external corpus from the Internet and carry out training, obtain word vector dictionary D, be used for querying the word vector of training set and test set word; Based on GoogleNews corpus external corpus (about 100 billion words) in the present embodiment, utilize the word2vec that google discloses The corpus is trained, and the word vector library googlenews-vecctors-negative300.bin file obtained is used as the word vector dictionary D, and the dimension of the word vector is set to |V|, and in the present embodiment, |V|=300;

[0047] Step 1.2 Word vector representation of samples in training set and test set

[0048] Obtain |I| comment texts to fo...

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 sentiment classification method based on an adversative sentence semantic block partitioning mechanism, which comprises the following steps: 1, representing each sample in atraining set and a testing set as a word vector matrix by utilizing a known word vector dictionary; 2, selecting a proper convolution kernel to carry out convolution on the word vector matrix, and extracting a mapping feature vector to implement dimensionality reduction; 3, constructing an adversative dictionary, and by inquiring positions of adversatives in the samples, carrying out semantic partitioning on extracted mapping features and extracting the most important information in each partitioned block, and forming a final feature space; 4, training a classifier on the basis of the final feature space, and carrying out classification on the samples in the testing set. According to the sentiment classification method, on the basis of the constructed adversative dictionary, partitioning on sentence semantic blocks is implemented, the important semantic information in each segment can be obtained, and meanwhile, position structural features of a sentence are considered, so that correctness of text sentiment classification can be improved.

Description

technical field [0001] The invention belongs to the problem of emotion classification in the field of natural and language processing, and is especially aimed at effectively classifying emotions for emotional expression modes containing multiple semantics, such as transitional sentences in which suppression is first promoted or promotion is suppressed first. Background technique [0002] With the rapid development of the Internet, text information using the network as the medium of communication has attracted more and more attention from enterprises, institutions and individuals. Network information can help government departments understand people's intentions. Enterprises can understand users' opinions on products by developing product reviews to improve products. Product performance, consumers use product reviews to guide consumption behavior. However, a large number of new comments appear on the Internet every day. The comments may be positive at first, but they may turn...

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/353G06F16/355G06F40/205G06F40/289
Inventor 张玉红王勤勤李玉玲李培培胡学钢
Owner HEFEI UNIV OF TECH
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