Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Training method of film review emotional orientation analysis based on machine learning

A kind of emotional tendency and machine learning technology, applied in the direction of instruments, computer parts, computing, etc., can solve the problem of low accuracy of emotional overall tendency judgment, and achieve the effect of accurate overall tendency and accurate judgment

Active Publication Date: 2018-11-13
DALIAN NATIONALITIES UNIVERSITY
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

According to the difference in the emotional polarity of the emotional words in the dictionary, the emotional dictionary is divided into a positive dictionary and a derogatory dictionary. According to the polarity and emotional intensity of the emotional words in the dictionary, the emotional score of the entire sentence is calculated, and finally the emotional tendency of the sentence is obtained. However, this method is not very accurate in judging the overall emotional orientation of a film review with an equal amount of emotional words with different polarities.

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
  • Training method of film review emotional orientation analysis based on machine learning
  • Training method of film review emotional orientation analysis based on machine learning
  • Training method of film review emotional orientation analysis based on machine learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] This embodiment is aimed at the emotional tendency analysis of Chinese film reviews, and it proposes a method for discriminating emotional tendency, mainly including training methods, testing methods, and analysis methods. The program uses machine learning to extract feature words and convert text into features The representation form and the classifier are constructed by naive Bayesian thinking, and the feature extraction adopts part-of-speech selection to avoid not extracting meaningful features due to the lack of movie reviews.

[0046] The technical scheme disclosed in this embodiment is as follows:

[0047] A method for analyzing the emotional tendency of film reviews based on machine learning, comprising the following steps:

[0048] Step 1: Write a crawler to download Douban movie reviews, and the downloaded movie reviews form a corpus;

[0049] Step (a): Get the URL of the movie to be downloaded in Douban.

[0050] Step (b): Download the movie review, movie name...

Embodiment 2

[0115] As an example supplement to the technical solution in Example 1, figure 1 The process flow of the analysis method of the present invention is shown. In this embodiment, jieba word segmentation is used to segment a large number of texts and select specific part-of-speech words, and use jieba word segmentation to extract the stem word of the sentence, take the union of the two, and evaluate the downloaded movie reviews according to their ratings. Classification, including positive and negative categories. And convert the movie review text into the form of feature representation, use the classification algorithm to build a classifier, and then perform necessary post-processing. Let's take a movie review in the data set as an example, combined with figure 1 The present invention will be described in detail.

[0116] Step 1. Download movie reviews, write a crawler to download movie reviews from Douban Movies. For example, one of the movie reviews downloaded is as follows:...

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 training method of film review emotional orientation analysis based on machine learning, belonging to the field of natural language processing. The purpose of the invention is to solve the problem of improving the accuracy of the film review emotional analysis of the emotional dictionaries in the prior art. The technical points of the training method of the film review emotional orientation analysis based on machine learning are as follows: downloading film reviews; selecting feature words; using a feature word set to represent each film review as a feature vector; dividing a feature vector text into training sets randomly, and adding positive or negative labels to each feature vector of the training set; and training a classifier built with the naive Bayesian thought. The effect of the training method of the film review emotional orientation analysis based on machine learning is that the whole tendentiousness of the words with equal amount of positive and negative orientations in the film reviews can be more accurately judged.

Description

technical field [0001] The invention belongs to the field of natural language processing and relates to a training method for analyzing the emotional tendency of film reviews based on machine learning. Background technique [0002] In various forums, shopping sites, review sites, Weibo, etc., more and more users express their opinions, opinions, attitudes, and emotions on them. If the user's emotional change process can be analyzed, then these comments will be Provide us with a lot of information. For example, reviews of a movie, reviews of a product, etc. Based on the analysis of subjective text with emotional color, the user's attitude is identified, whether it is like, dislike, or neutral. There are many applications in real life, such as predicting stock trends, movie box office, election results, etc. through emotional analysis of Weibo users. It can also be used to understand users’ preferences for companies and products. The analysis results can be used to Improve ...

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/27G06K9/62
CPCG06F40/289G06F18/24G06F18/214
Inventor 赵丹丹高宠
Owner DALIAN NATIONALITIES UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products