Presentation is loading. Please wait.

Presentation is loading. Please wait.

Approaches to Sentiment Analysis MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way Based in part on notes from Aditya Joshi.

Similar presentations


Presentation on theme: "Approaches to Sentiment Analysis MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way Based in part on notes from Aditya Joshi."— Presentation transcript:

1 Approaches to Sentiment Analysis MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way Based in part on notes from Aditya Joshi

2 What is Sentiment Analysis? Identify the orientation of opinion in a piece of text Can be generalized to a wider set of emotions The movie was fabulous! The movie stars Mr. X The movie was horrible! MSE 2400 Evolution & Learning2

3 Motivation Knowing sentiment is a very natural ability of a human being. Can a machine be trained to do it? SA aims at getting sentiment-related knowledge especially from the huge amount of information on the internet Can be generally used to understand opinion in a set of documents MSE 2400 Evolution & Learning3

4 Tripod of Sentiment Analysis Cognitive Science Natural Language Processing Machine Learning Sentiment Analysis Natural Language Processing Machine Learning MSE 2400 Evolution & Learning4

5 Challenges Contrasts with standard text-based categorization Domain dependent Sarcasm Thwarted expressions Mere presence of words is Indicative of the category in case of text categorization. Not the case with sentiment analysis Contrasts with standard text-based categorization Domain dependent Sarcasm Thwarted expressions Sentiment of a word is w.r.t. the domain. Example: ‘unpredictable’ For steering of a car, For movie review, Contrasts with standard text-based categorization Domain dependent Sarcasm Thwarted expressions Sarcasm uses words of a polarity to represent another polarity. Example: The perfume is so amazing that I suggest you wear it with your windows shut Contrasts with standard text-based categorization Domain dependent Sarcasm Thwarted expressions the sentences/words that contradict the overall sentiment of the set are in majority Example: The actors are good, the music is brilliant and appealing. Yet, the movie fails to strike a chord. MSE 2400 Evolution & Learning5

6 Quantifying sentiment Objective Polarity Subjective Polarity PositiveNegative Term sense position Each term has a Positive, Negative and Objective score. The scores sum to one. MSE 2400 Evolution & Learning6

7 Approach 1: Using adjectives Many adjectives have high sentiment value –A ‘beautiful’ bag –A ‘wooden’ bench –An ‘embarrassing’ performance Focusing on adjectives might be beneficial MSE 2400 Evolution & Learning7

8 Approach 2: Using Adverb- Adjective Combinations (AACs) Calculate sentiment value based on the effect of adverbs on adjectives Linguistic ideas: Adverbs of affirmation: certainly Adverbs of doubt: possibly Strong intensifying adverbs: extremely Weak intensifying adverbs: scarcely Negation and Minimizers: never MSE 2400 Evolution & Learning8

9 Approach 3: Subject-based SA Examples: The horse bolted. The movie lacks a good story. MSE 2400 Evolution & Learning9

10 Lexical Analysis subj. bolt b VB bolt subj subj. lack obj. b VB lack obj ~subj Argument that sends the sentiment (subj./obj.) Argument that receives the sentiment (subj./obj.) MSE 2400 Evolution & Learning10

11 Example The movie lacks a good story. G JJ good obj. The movie lacks \S+. B VB lack obj ~subj. Lexicon : Steps : 1)Consider a context window of upto five words 2)Shallow parse the sentence 3)Step-by-step calculate the sentiment value based on lexicon and by adding ‘\S+’ characters at each step MSE 2400 Evolution & Learning11

12 Applications Review-related analysis Developing ‘hate mail filters’ analogous to ‘spam mail filters’ Question-answering (Opinion-oriented questions may involve different treatment) MSE 2400 Evolution & Learning12


Download ppt "Approaches to Sentiment Analysis MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way Based in part on notes from Aditya Joshi."

Similar presentations


Ads by Google