SlideShare a Scribd company logo
SENTENCE LEVEL
SENTIMENT ANALYSIS
IDENTIFYING EXPRESSIONS OF EMOTIONS IN TEXT
Paper published by Saima Aman and Stan
Szpakowicz
Presented by Vipul Munot
Indiana University Bloomington
MS Data Science
AGENDA
 Overview
 Ekman Basic Emotions
 Datasets
 Emotion Annotations
 Measuring Annotations
 Automatic Emotion Classification
 Experiments and results
 Future Work
 Related work
10/5/2015Presented by Vipul Munot
2
OVERVIEW
 Sentiment Analysis has typically focused on recognizing positive
and negative words.
 The authors goal was to investigate the expression of emotion in
language through a corpus annotation study.
 They achieve 73.89% accuracy according to the preliminary
results of their emotion classification experiments.
10/5/2015Presented by Vipul Munot
3
EKMAN BASIC EMOTIONS
 Paul Ekman classified emotions in six different basic categories :
1. Happiness
2. Sadness
3. Surprise
4. Fear
5. Disgust
6. Anger
10/5/2015Presented by Vipul Munot
4
DATASETS (1/2)
 This paper developed their own datasets using blog posts
collected directly from the web.
 Datasets were classified into Ekman’s six emotions.
 They took words commonly used in the context of a particular
emotions, referred as seed words.
 “happiness” for words – happy, enjoy, pleased.
 “fear” for words – afraid, scared, panic and so on.
10/5/2015Presented by Vipul Munot
5
DATASETS (2/2)
Dataset # posts # sentences Collected using
seed words for
Ec-hp 34 848 Happiness
Ec-sd 30 884 Sadness
Ec-ag 26 883 Anger
Ec-dg 21 882 Disgust
Ec-sp 31 847 Surprise
Ec-fr 31 861 Fear
Total 173 5205
10/5/2015Presented by Vipul Munot
6
EMOTION ANNOTATIONS (1/4)
 Objectives –
 Emotion labelling.
 To identify spans of text (individual words or strings of consecutive
words) that convey emotional content in a sentence.
10/5/2015Presented by Vipul Munot
7
EMOTION ANNOTATIONS (2/4)
 Emotion labeling had to be done manually.
 To achieve this they used four judges to annotate the corpus.
 Each sentence was subject to two judgements.
 No training was provided to judges.
 They were given a set of examples to annotate data.
 Time spent to annotate data – 3 months.
 The authors added two more emotions to original Ekman’s six emotions – Mixed
emotions and no emotion.
 Reason – sometimes you cannot differentiate the emotions in the sentences.
 For examples –
 It's like everything everywhere is going crazy, so we don't go out any more. - No Emotion.
 I felt bored and wanted to leave at intermission, but my wife was really enjoying it, so we stayed.
– Mixed emotion .
10/5/2015Presented by Vipul Munot
8
EMOTION ANNOTATIONS(3/4)
 Now, their goal was to label the emotions with its intensity. For
example,
 I have to look at life in her perspective, and it would break anyone’s
heart. (sadness, high)
 I hate it when certain people always seem to be better at me in
everything they do. (disgust, low)
 But the rest of it came across as a really angry, drunken rant. (anger,
high)
10/5/2015Presented by Vipul Munot
9
EMOTION ANNOTATIONS (4/4)
 Spans of text
 Emotion is often conveyed by longer units of text or by phrases, for
example
 I can't believe this went on for so long, and we were blissfully unaware of
it.
10/5/2015Presented by Vipul Munot
10
MEASURING ANNOTATIONS(1/7)
 Objectives –
 Achieving consensus between judges for particular emotion and it’s
intensity for a particular sentence.
10/5/2015Presented by Vipul Munot
11
MEASURING ANNOTATIONS(2/7)
 The interpretation of sentiment information in text is highly
subjective, which leads to disparity in the annotations by different
judges.
 Difference in skills and focus of the judges, and ambiguity in the
annotation guidelines and in the annotation task itself also
contribute to disagreement between the judges
10/5/2015Presented by Vipul Munot
12
MEASURING ANNOTATIONS(3/7)
 Cohen's kappa(https://en.wikipedia.org/wiki/Cohen%27s_kappa)
 measures the agreements between two raters who each classify N items
into C mutually exclusive categories.
A   B A   C A   D Average
Kappa 0.73 0.84 0.71 0.76
Pair-wise agreement in emotion/non-emotion labeling
10/5/2015Presented by Vipul Munot
13
MEASURING ANNOTATIONS(4/7)
Category A   B A   C A   D Average
Happiness 0.76 0.84 0.71 0.77
Sadness 0.68 0.79 0.56 0.68
Anger 0.62 0.76 0.59 0.66
Disgust 0.64 0.62 0.74 0.67
Surprise 0.61 0.72 0.48 0.6
Fear 0.78 0.8 0.78 0.79
Mixed
Emotions
0.24 0.61 0.44 0.43
Pair-wise agreement in emotion categories
10/5/2015Presented by Vipul Munot
14
MEASURING ANNOTATIONS(5/7)
Intensity A   B A   C A   D Average
High 0.69 0.82 0.65 0.72
Medium 0.39 0.61 0.38 0.46
Low 0.31 0.5 0.29 0.37
Pair-wise agreement in emotion intensities
 The judges agreed more when the
emotion intensity was high;
agreement declined with decrease
in the intensity of emotion.
 It is a major factor in disagreement
that where one judge perceives a
low-intensity, another judge may
find no emotion.
10/5/2015Presented by Vipul Munot
15
MEASURING ANNOTATIONS(6/7)
 For this paper authors have used measure of agreement on set-
valued items (MASI)
 MASI is a distance between sets whose value is 1 for identical sets, and 0
fordisjoint sets.
 MASI = J * M, where the Jaccard metric is
J = |A∩B| / |A∪B|
 If one set is monotonic with respect to another, one set's elements
always match those of the other set.
 The presence of monotonicity factor in MASI therefore ensures that
the latter cases are penalized more heavily than the former.
10/5/2015Presented by Vipul Munot
16
MEASURING ANNOTATIONS(7/7)
 They used another method called IOB encoding(variant of the
method) of measuring agreement between emotion indicators.
 Use IO encoding, in which each word in the sentence is labeled
as being either In or Outside an emotion indicator text span
 Sorry/I for/O the/O ranting/I post/O, but/O I/O am/O just/O really/I
annoyed/
Metric A   B A   C A   D Average
MASI 0.59 0.66 0.59 0.61
Kappa 0.61 0.73 0.65 0.66
Pair-wise agreement in emotion indicators
10/5/2015Presented by Vipul Munot
17
AUTOMATIC EMOTION
CLASSIFICATION(1/3)
 Focus is on recognizing emotional sentences in text, regardless of
their emotion category.
 Extracted all those sentences from the corpus for which there
was consensus among the judges on their emotion category.
 Assigned all emotion category sentences to the class “EM”, while
all no emotion sentences were assigned to the class “NE”.
 Resulting dataset
 1466 sentences belonged EM class.
 and 2800 sentences belonged to the NE class.
10/5/2015Presented by Vipul Munot
18
AUTOMATIC EMOTION
CLASSIFICATION(2/3)
 In order to differentiate between EM and NE authors used
publicly available lexical resources -
 General Inquirer - consists of words drawn from several dictionaries
and grouped into various semantic categories.
 WordNet-Affect - assigns a variety of affect labels to a subset of
synsets in WordNet.
 Even symbols such as emoticons and punctuations are used for
expressing emotions.
10/5/2015Presented by Vipul Munot
19
AUTOMATIC EMOTION
CLASSIFICATION(3/3)
GI Features WN-Affect Features Other Features
Emotion Words
Positive Words
Negative Words
Interjection Words
Pleasure Words
Pain Words
Happiness Words
Sadness Words
Anger Words
Disgust Words
Surprise Words
Fear Words
Emoticons
Exclamation(“!”)
And question (“?”)
marks
Features used in emotion classification
10/5/2015Presented by Vipul Munot
20
FINDINGS
 No emotion category was most frequent.
 No intensity label was assigned to the no emotion sentences.
 Individual words are not sufficient for labelling the sentences.
 A sentence was found to exhibit more than one emotion.
 Emotion conveyed in some sentences could not be attributed to
any basic category.
10/5/2015Presented by Vipul Munot
21
EXPERIMENTS
 Navie Bayes and Suppor Vector Machines (SVM) were used for
binary classification experiments.
10/5/2015Presented by Vipul Munot
22
Features Naïve Bayes SVM
GI 71.45% 71.33%
WN-Affect 70.16% 70.58%
GI+WN-Affect 71.7% 73.89%
ALL 72.08% 73.89%
Emotion Classification accuracy
RESULTS
 The best results in were achieved when all features were
combined.
 Non-lexical features increased the accuracy of Naïve Bayes
classifier, but didn’t affect the SVM results.
 Automatic Emotion Classification – shows how external
knowledge resources can be leveraged in identifying emotion-
related words in text.
10/5/2015Presented by Vipul Munot
23
FUTURE WORK
 Acronym such as “lol” need to be incorporated in future work.
 To address typographical errors and orthographic words (for eg.
“soo sweet”).
 To incorporate contextual and semantic analysis as well.
10/5/2015Presented by Vipul Munot
24
RELATED WORK
 Appraisal framework (http://grammatics.com/appraisal/)
 Ekman Basic Emotions (https://www.paulekman.com/wp-content/uploads/2013/07/An-Argument-For-Basic-Emotions.pdf)
 Mihalcea, R., Liu, H.: A corpus-based approach to finding happiness. In: The
AAAI Spring Symposium on Computational Approaches to Weblogs, Stanford,
CA (2006)
10/5/2015Presented by Vipul Munot
25
REFERENCES
 http://www-scf.usc.edu/~saman/pubs/2007-TSD-paper.pdf
10/5/2015Presented by Vipul Munot
26
QUESTIONS?
10/5/2015Presented by Vipul Munot
27
THANK YOU.
10/5/2015Presented by Vipul Munot
28

More Related Content

Viewers also liked

Twitter sentiment analysis
Twitter sentiment analysisTwitter sentiment analysis
Twitter sentiment analysis
Harshit Sanghvi
 
Vision 2016 fpm 1081 - getting data from sap business warehouse into your ibm...
Vision 2016 fpm 1081 - getting data from sap business warehouse into your ibm...Vision 2016 fpm 1081 - getting data from sap business warehouse into your ibm...
Vision 2016 fpm 1081 - getting data from sap business warehouse into your ibm...
paul young cpa, cga
 
The Player's Journey: drive sustained engagement with Onboarding, Habit-Build...
The Player's Journey: drive sustained engagement with Onboarding, Habit-Build...The Player's Journey: drive sustained engagement with Onboarding, Habit-Build...
The Player's Journey: drive sustained engagement with Onboarding, Habit-Build...
Amy Jo Kim
 
Finance Transformation for JABIL with IBM Cognos TM1
Finance Transformation for JABIL with IBM Cognos TM1Finance Transformation for JABIL with IBM Cognos TM1
Finance Transformation for JABIL with IBM Cognos TM1
Tridant
 
Empowering Businesses using Yelp Reviews Mining
Empowering Businesses using Yelp Reviews MiningEmpowering Businesses using Yelp Reviews Mining
Empowering Businesses using Yelp Reviews Mining
Vipul Munot
 
Sentiment Analysis in Twitter
Sentiment Analysis in TwitterSentiment Analysis in Twitter
Sentiment Analysis in Twitter
prnk08
 
Twitter sentiment analysis
Twitter sentiment analysisTwitter sentiment analysis
Twitter sentiment analysis
Sunil Kandari
 
Create your Brand Marketing 101
Create your Brand Marketing 101Create your Brand Marketing 101
Create your Brand Marketing 101
Pyramid Connections
 
Twitter Sentiment Analysis
Twitter Sentiment AnalysisTwitter Sentiment Analysis
Twitter Sentiment Analysis
Ayush Khandelwal
 
Sentiment Analaysis on Twitter
Sentiment Analaysis on TwitterSentiment Analaysis on Twitter
Sentiment Analaysis on Twitter
Nitish J Prabhu
 
Cognos TM1
Cognos TM1 Cognos TM1
Cognos TM1
rameshkp054
 
Twitter sentiment analysis project report
Twitter sentiment analysis project reportTwitter sentiment analysis project report
Twitter sentiment analysis project report
Bharat Khanna
 
IBM Cognos TM1 Version 10.1 Demonstration and Financial Planning Best Practic...
IBM Cognos TM1 Version 10.1 Demonstration and Financial Planning Best Practic...IBM Cognos TM1 Version 10.1 Demonstration and Financial Planning Best Practic...
IBM Cognos TM1 Version 10.1 Demonstration and Financial Planning Best Practic...
Senturus
 
IBM Cognos TM1
IBM Cognos TM1IBM Cognos TM1
IBM Cognos TM1
Vipul Munot
 
G A InfoMart Cognos TM1 planning budgeting-forecasting solution
G A InfoMart Cognos TM1 planning budgeting-forecasting solutionG A InfoMart Cognos TM1 planning budgeting-forecasting solution
G A InfoMart Cognos TM1 planning budgeting-forecasting solution
GA InfoMart Ltd
 
Gamification of Learning Design Environments (Workshop)
Gamification of Learning Design Environments (Workshop)Gamification of Learning Design Environments (Workshop)
Gamification of Learning Design Environments (Workshop)
Michael Derntl
 
Consumer Behaviour In Travel&Torism
Consumer Behaviour In Travel&TorismConsumer Behaviour In Travel&Torism
Consumer Behaviour In Travel&Torism
guest585f83
 
Introduction to Sentiment Analysis
Introduction to Sentiment AnalysisIntroduction to Sentiment Analysis
Introduction to Sentiment Analysis
Jaganadh Gopinadhan
 
Brand identity, brand personality & brand image
Brand identity, brand personality & brand imageBrand identity, brand personality & brand image
Brand identity, brand personality & brand image
Sunny Bose
 
Sentiment analysis of Twitter Data
Sentiment analysis of Twitter DataSentiment analysis of Twitter Data
Sentiment analysis of Twitter Data
Nurendra Choudhary
 

Viewers also liked (20)

Twitter sentiment analysis
Twitter sentiment analysisTwitter sentiment analysis
Twitter sentiment analysis
 
Vision 2016 fpm 1081 - getting data from sap business warehouse into your ibm...
Vision 2016 fpm 1081 - getting data from sap business warehouse into your ibm...Vision 2016 fpm 1081 - getting data from sap business warehouse into your ibm...
Vision 2016 fpm 1081 - getting data from sap business warehouse into your ibm...
 
The Player's Journey: drive sustained engagement with Onboarding, Habit-Build...
The Player's Journey: drive sustained engagement with Onboarding, Habit-Build...The Player's Journey: drive sustained engagement with Onboarding, Habit-Build...
The Player's Journey: drive sustained engagement with Onboarding, Habit-Build...
 
Finance Transformation for JABIL with IBM Cognos TM1
Finance Transformation for JABIL with IBM Cognos TM1Finance Transformation for JABIL with IBM Cognos TM1
Finance Transformation for JABIL with IBM Cognos TM1
 
Empowering Businesses using Yelp Reviews Mining
Empowering Businesses using Yelp Reviews MiningEmpowering Businesses using Yelp Reviews Mining
Empowering Businesses using Yelp Reviews Mining
 
Sentiment Analysis in Twitter
Sentiment Analysis in TwitterSentiment Analysis in Twitter
Sentiment Analysis in Twitter
 
Twitter sentiment analysis
Twitter sentiment analysisTwitter sentiment analysis
Twitter sentiment analysis
 
Create your Brand Marketing 101
Create your Brand Marketing 101Create your Brand Marketing 101
Create your Brand Marketing 101
 
Twitter Sentiment Analysis
Twitter Sentiment AnalysisTwitter Sentiment Analysis
Twitter Sentiment Analysis
 
Sentiment Analaysis on Twitter
Sentiment Analaysis on TwitterSentiment Analaysis on Twitter
Sentiment Analaysis on Twitter
 
Cognos TM1
Cognos TM1 Cognos TM1
Cognos TM1
 
Twitter sentiment analysis project report
Twitter sentiment analysis project reportTwitter sentiment analysis project report
Twitter sentiment analysis project report
 
IBM Cognos TM1 Version 10.1 Demonstration and Financial Planning Best Practic...
IBM Cognos TM1 Version 10.1 Demonstration and Financial Planning Best Practic...IBM Cognos TM1 Version 10.1 Demonstration and Financial Planning Best Practic...
IBM Cognos TM1 Version 10.1 Demonstration and Financial Planning Best Practic...
 
IBM Cognos TM1
IBM Cognos TM1IBM Cognos TM1
IBM Cognos TM1
 
G A InfoMart Cognos TM1 planning budgeting-forecasting solution
G A InfoMart Cognos TM1 planning budgeting-forecasting solutionG A InfoMart Cognos TM1 planning budgeting-forecasting solution
G A InfoMart Cognos TM1 planning budgeting-forecasting solution
 
Gamification of Learning Design Environments (Workshop)
Gamification of Learning Design Environments (Workshop)Gamification of Learning Design Environments (Workshop)
Gamification of Learning Design Environments (Workshop)
 
Consumer Behaviour In Travel&Torism
Consumer Behaviour In Travel&TorismConsumer Behaviour In Travel&Torism
Consumer Behaviour In Travel&Torism
 
Introduction to Sentiment Analysis
Introduction to Sentiment AnalysisIntroduction to Sentiment Analysis
Introduction to Sentiment Analysis
 
Brand identity, brand personality & brand image
Brand identity, brand personality & brand imageBrand identity, brand personality & brand image
Brand identity, brand personality & brand image
 
Sentiment analysis of Twitter Data
Sentiment analysis of Twitter DataSentiment analysis of Twitter Data
Sentiment analysis of Twitter Data
 

Similar to Sentence level sentiment analysis

Inspired by emotions -
Inspired by emotions - Inspired by emotions -
Inspired by emotions -
Paul Sas
 
Emotions
EmotionsEmotions
Emotions
TJHSST
 
A BRIEF REVIEW OF SENTIMENT ANALYSIS METHODS
A BRIEF REVIEW OF SENTIMENT ANALYSIS METHODSA BRIEF REVIEW OF SENTIMENT ANALYSIS METHODS
A BRIEF REVIEW OF SENTIMENT ANALYSIS METHODS
ijistjournal
 
Measuring an emotional quality of a product
Measuring an emotional quality of a productMeasuring an emotional quality of a product
Measuring an emotional quality of a product
Rajesh Patel
 
The emotional intellect in testing
The emotional intellect in testingThe emotional intellect in testing
The emotional intellect in testing
SQALab
 
poster_final
poster_finalposter_final
poster_final
David Kovalchick
 
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWSRULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
ijaia
 
Movies and Mood Psychology Study
Movies and Mood Psychology StudyMovies and Mood Psychology Study
Movies and Mood Psychology Study
Chelsea Hatton
 
3-540-45453-5_71.pdf
3-540-45453-5_71.pdf3-540-45453-5_71.pdf
3-540-45453-5_71.pdf
Jyoti863900
 
IRJET- EI-Expression Illustrator
IRJET- EI-Expression IllustratorIRJET- EI-Expression Illustrator
IRJET- EI-Expression Illustrator
IRJET Journal
 
Ijedr2003053 (1)
Ijedr2003053 (1)Ijedr2003053 (1)
Ijedr2003053 (1)
college
 
Emotion panal powerpoint
Emotion panal powerpointEmotion panal powerpoint
Emotion panal powerpoint
Jedalyn Salvador
 
Discussion 2 - Week 9COLLAPSEEmotion and Social CognitionSoc.docx
Discussion 2 - Week 9COLLAPSEEmotion and Social CognitionSoc.docxDiscussion 2 - Week 9COLLAPSEEmotion and Social CognitionSoc.docx
Discussion 2 - Week 9COLLAPSEEmotion and Social CognitionSoc.docx
felipaser7p
 
Meta model
Meta modelMeta model
Meta model
ssuser86f1c4
 
2018 09
2018 092018 09
2018 09
Vai Jayanthi
 
H010215561
H010215561H010215561
H010215561
IOSR Journals
 
Implicit Association Measurement Techniques
Implicit Association Measurement TechniquesImplicit Association Measurement Techniques
Implicit Association Measurement Techniques
hfienberg
 
Personal Development Emotional Intelligence.pptx
Personal Development Emotional Intelligence.pptxPersonal Development Emotional Intelligence.pptx
Personal Development Emotional Intelligence.pptx
AbegailSargento
 
David papini escape emotional intelligence traps
David papini   escape emotional intelligence trapsDavid papini   escape emotional intelligence traps
David papini escape emotional intelligence traps
David Papini
 
Emotion Detection in text
Emotion Detection in text Emotion Detection in text
Emotion Detection in text
kashif kashif
 

Similar to Sentence level sentiment analysis (20)

Inspired by emotions -
Inspired by emotions - Inspired by emotions -
Inspired by emotions -
 
Emotions
EmotionsEmotions
Emotions
 
A BRIEF REVIEW OF SENTIMENT ANALYSIS METHODS
A BRIEF REVIEW OF SENTIMENT ANALYSIS METHODSA BRIEF REVIEW OF SENTIMENT ANALYSIS METHODS
A BRIEF REVIEW OF SENTIMENT ANALYSIS METHODS
 
Measuring an emotional quality of a product
Measuring an emotional quality of a productMeasuring an emotional quality of a product
Measuring an emotional quality of a product
 
The emotional intellect in testing
The emotional intellect in testingThe emotional intellect in testing
The emotional intellect in testing
 
poster_final
poster_finalposter_final
poster_final
 
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWSRULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
 
Movies and Mood Psychology Study
Movies and Mood Psychology StudyMovies and Mood Psychology Study
Movies and Mood Psychology Study
 
3-540-45453-5_71.pdf
3-540-45453-5_71.pdf3-540-45453-5_71.pdf
3-540-45453-5_71.pdf
 
IRJET- EI-Expression Illustrator
IRJET- EI-Expression IllustratorIRJET- EI-Expression Illustrator
IRJET- EI-Expression Illustrator
 
Ijedr2003053 (1)
Ijedr2003053 (1)Ijedr2003053 (1)
Ijedr2003053 (1)
 
Emotion panal powerpoint
Emotion panal powerpointEmotion panal powerpoint
Emotion panal powerpoint
 
Discussion 2 - Week 9COLLAPSEEmotion and Social CognitionSoc.docx
Discussion 2 - Week 9COLLAPSEEmotion and Social CognitionSoc.docxDiscussion 2 - Week 9COLLAPSEEmotion and Social CognitionSoc.docx
Discussion 2 - Week 9COLLAPSEEmotion and Social CognitionSoc.docx
 
Meta model
Meta modelMeta model
Meta model
 
2018 09
2018 092018 09
2018 09
 
H010215561
H010215561H010215561
H010215561
 
Implicit Association Measurement Techniques
Implicit Association Measurement TechniquesImplicit Association Measurement Techniques
Implicit Association Measurement Techniques
 
Personal Development Emotional Intelligence.pptx
Personal Development Emotional Intelligence.pptxPersonal Development Emotional Intelligence.pptx
Personal Development Emotional Intelligence.pptx
 
David papini escape emotional intelligence traps
David papini   escape emotional intelligence trapsDavid papini   escape emotional intelligence traps
David papini escape emotional intelligence traps
 
Emotion Detection in text
Emotion Detection in text Emotion Detection in text
Emotion Detection in text
 

More from Vipul Munot

Event pal
Event palEvent pal
Event pal
Vipul Munot
 
Search: Probabilistic Information Retrieval
Search: Probabilistic Information RetrievalSearch: Probabilistic Information Retrieval
Search: Probabilistic Information Retrieval
Vipul Munot
 
Airtel
AirtelAirtel
Airtel
Vipul Munot
 
Apeda
ApedaApeda
Will chinese yuan become world currency
Will chinese yuan become world currencyWill chinese yuan become world currency
Will chinese yuan become world currency
Vipul Munot
 
Ascertaining Customer Satisfaction
Ascertaining Customer SatisfactionAscertaining Customer Satisfaction
Ascertaining Customer Satisfaction
Vipul Munot
 
Visual CV / Vipul Munot
Visual CV / Vipul MunotVisual CV / Vipul Munot
Visual CV / Vipul Munot
Vipul Munot
 

More from Vipul Munot (7)

Event pal
Event palEvent pal
Event pal
 
Search: Probabilistic Information Retrieval
Search: Probabilistic Information RetrievalSearch: Probabilistic Information Retrieval
Search: Probabilistic Information Retrieval
 
Airtel
AirtelAirtel
Airtel
 
Apeda
ApedaApeda
Apeda
 
Will chinese yuan become world currency
Will chinese yuan become world currencyWill chinese yuan become world currency
Will chinese yuan become world currency
 
Ascertaining Customer Satisfaction
Ascertaining Customer SatisfactionAscertaining Customer Satisfaction
Ascertaining Customer Satisfaction
 
Visual CV / Vipul Munot
Visual CV / Vipul MunotVisual CV / Vipul Munot
Visual CV / Vipul Munot
 

Recently uploaded

一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
a9qfiubqu
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
wyddcwye1
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
SaffaIbrahim1
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
hyfjgavov
 

Recently uploaded (20)

一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
 

Sentence level sentiment analysis

  • 1. SENTENCE LEVEL SENTIMENT ANALYSIS IDENTIFYING EXPRESSIONS OF EMOTIONS IN TEXT Paper published by Saima Aman and Stan Szpakowicz Presented by Vipul Munot Indiana University Bloomington MS Data Science
  • 2. AGENDA  Overview  Ekman Basic Emotions  Datasets  Emotion Annotations  Measuring Annotations  Automatic Emotion Classification  Experiments and results  Future Work  Related work 10/5/2015Presented by Vipul Munot 2
  • 3. OVERVIEW  Sentiment Analysis has typically focused on recognizing positive and negative words.  The authors goal was to investigate the expression of emotion in language through a corpus annotation study.  They achieve 73.89% accuracy according to the preliminary results of their emotion classification experiments. 10/5/2015Presented by Vipul Munot 3
  • 4. EKMAN BASIC EMOTIONS  Paul Ekman classified emotions in six different basic categories : 1. Happiness 2. Sadness 3. Surprise 4. Fear 5. Disgust 6. Anger 10/5/2015Presented by Vipul Munot 4
  • 5. DATASETS (1/2)  This paper developed their own datasets using blog posts collected directly from the web.  Datasets were classified into Ekman’s six emotions.  They took words commonly used in the context of a particular emotions, referred as seed words.  “happiness” for words – happy, enjoy, pleased.  “fear” for words – afraid, scared, panic and so on. 10/5/2015Presented by Vipul Munot 5
  • 6. DATASETS (2/2) Dataset # posts # sentences Collected using seed words for Ec-hp 34 848 Happiness Ec-sd 30 884 Sadness Ec-ag 26 883 Anger Ec-dg 21 882 Disgust Ec-sp 31 847 Surprise Ec-fr 31 861 Fear Total 173 5205 10/5/2015Presented by Vipul Munot 6
  • 7. EMOTION ANNOTATIONS (1/4)  Objectives –  Emotion labelling.  To identify spans of text (individual words or strings of consecutive words) that convey emotional content in a sentence. 10/5/2015Presented by Vipul Munot 7
  • 8. EMOTION ANNOTATIONS (2/4)  Emotion labeling had to be done manually.  To achieve this they used four judges to annotate the corpus.  Each sentence was subject to two judgements.  No training was provided to judges.  They were given a set of examples to annotate data.  Time spent to annotate data – 3 months.  The authors added two more emotions to original Ekman’s six emotions – Mixed emotions and no emotion.  Reason – sometimes you cannot differentiate the emotions in the sentences.  For examples –  It's like everything everywhere is going crazy, so we don't go out any more. - No Emotion.  I felt bored and wanted to leave at intermission, but my wife was really enjoying it, so we stayed. – Mixed emotion . 10/5/2015Presented by Vipul Munot 8
  • 9. EMOTION ANNOTATIONS(3/4)  Now, their goal was to label the emotions with its intensity. For example,  I have to look at life in her perspective, and it would break anyone’s heart. (sadness, high)  I hate it when certain people always seem to be better at me in everything they do. (disgust, low)  But the rest of it came across as a really angry, drunken rant. (anger, high) 10/5/2015Presented by Vipul Munot 9
  • 10. EMOTION ANNOTATIONS (4/4)  Spans of text  Emotion is often conveyed by longer units of text or by phrases, for example  I can't believe this went on for so long, and we were blissfully unaware of it. 10/5/2015Presented by Vipul Munot 10
  • 11. MEASURING ANNOTATIONS(1/7)  Objectives –  Achieving consensus between judges for particular emotion and it’s intensity for a particular sentence. 10/5/2015Presented by Vipul Munot 11
  • 12. MEASURING ANNOTATIONS(2/7)  The interpretation of sentiment information in text is highly subjective, which leads to disparity in the annotations by different judges.  Difference in skills and focus of the judges, and ambiguity in the annotation guidelines and in the annotation task itself also contribute to disagreement between the judges 10/5/2015Presented by Vipul Munot 12
  • 13. MEASURING ANNOTATIONS(3/7)  Cohen's kappa(https://en.wikipedia.org/wiki/Cohen%27s_kappa)  measures the agreements between two raters who each classify N items into C mutually exclusive categories. A   B A   C A   D Average Kappa 0.73 0.84 0.71 0.76 Pair-wise agreement in emotion/non-emotion labeling 10/5/2015Presented by Vipul Munot 13
  • 14. MEASURING ANNOTATIONS(4/7) Category A   B A   C A   D Average Happiness 0.76 0.84 0.71 0.77 Sadness 0.68 0.79 0.56 0.68 Anger 0.62 0.76 0.59 0.66 Disgust 0.64 0.62 0.74 0.67 Surprise 0.61 0.72 0.48 0.6 Fear 0.78 0.8 0.78 0.79 Mixed Emotions 0.24 0.61 0.44 0.43 Pair-wise agreement in emotion categories 10/5/2015Presented by Vipul Munot 14
  • 15. MEASURING ANNOTATIONS(5/7) Intensity A   B A   C A   D Average High 0.69 0.82 0.65 0.72 Medium 0.39 0.61 0.38 0.46 Low 0.31 0.5 0.29 0.37 Pair-wise agreement in emotion intensities  The judges agreed more when the emotion intensity was high; agreement declined with decrease in the intensity of emotion.  It is a major factor in disagreement that where one judge perceives a low-intensity, another judge may find no emotion. 10/5/2015Presented by Vipul Munot 15
  • 16. MEASURING ANNOTATIONS(6/7)  For this paper authors have used measure of agreement on set- valued items (MASI)  MASI is a distance between sets whose value is 1 for identical sets, and 0 fordisjoint sets.  MASI = J * M, where the Jaccard metric is J = |A∩B| / |A∪B|  If one set is monotonic with respect to another, one set's elements always match those of the other set.  The presence of monotonicity factor in MASI therefore ensures that the latter cases are penalized more heavily than the former. 10/5/2015Presented by Vipul Munot 16
  • 17. MEASURING ANNOTATIONS(7/7)  They used another method called IOB encoding(variant of the method) of measuring agreement between emotion indicators.  Use IO encoding, in which each word in the sentence is labeled as being either In or Outside an emotion indicator text span  Sorry/I for/O the/O ranting/I post/O, but/O I/O am/O just/O really/I annoyed/ Metric A   B A   C A   D Average MASI 0.59 0.66 0.59 0.61 Kappa 0.61 0.73 0.65 0.66 Pair-wise agreement in emotion indicators 10/5/2015Presented by Vipul Munot 17
  • 18. AUTOMATIC EMOTION CLASSIFICATION(1/3)  Focus is on recognizing emotional sentences in text, regardless of their emotion category.  Extracted all those sentences from the corpus for which there was consensus among the judges on their emotion category.  Assigned all emotion category sentences to the class “EM”, while all no emotion sentences were assigned to the class “NE”.  Resulting dataset  1466 sentences belonged EM class.  and 2800 sentences belonged to the NE class. 10/5/2015Presented by Vipul Munot 18
  • 19. AUTOMATIC EMOTION CLASSIFICATION(2/3)  In order to differentiate between EM and NE authors used publicly available lexical resources -  General Inquirer - consists of words drawn from several dictionaries and grouped into various semantic categories.  WordNet-Affect - assigns a variety of affect labels to a subset of synsets in WordNet.  Even symbols such as emoticons and punctuations are used for expressing emotions. 10/5/2015Presented by Vipul Munot 19
  • 20. AUTOMATIC EMOTION CLASSIFICATION(3/3) GI Features WN-Affect Features Other Features Emotion Words Positive Words Negative Words Interjection Words Pleasure Words Pain Words Happiness Words Sadness Words Anger Words Disgust Words Surprise Words Fear Words Emoticons Exclamation(“!”) And question (“?”) marks Features used in emotion classification 10/5/2015Presented by Vipul Munot 20
  • 21. FINDINGS  No emotion category was most frequent.  No intensity label was assigned to the no emotion sentences.  Individual words are not sufficient for labelling the sentences.  A sentence was found to exhibit more than one emotion.  Emotion conveyed in some sentences could not be attributed to any basic category. 10/5/2015Presented by Vipul Munot 21
  • 22. EXPERIMENTS  Navie Bayes and Suppor Vector Machines (SVM) were used for binary classification experiments. 10/5/2015Presented by Vipul Munot 22 Features Naïve Bayes SVM GI 71.45% 71.33% WN-Affect 70.16% 70.58% GI+WN-Affect 71.7% 73.89% ALL 72.08% 73.89% Emotion Classification accuracy
  • 23. RESULTS  The best results in were achieved when all features were combined.  Non-lexical features increased the accuracy of Naïve Bayes classifier, but didn’t affect the SVM results.  Automatic Emotion Classification – shows how external knowledge resources can be leveraged in identifying emotion- related words in text. 10/5/2015Presented by Vipul Munot 23
  • 24. FUTURE WORK  Acronym such as “lol” need to be incorporated in future work.  To address typographical errors and orthographic words (for eg. “soo sweet”).  To incorporate contextual and semantic analysis as well. 10/5/2015Presented by Vipul Munot 24
  • 25. RELATED WORK  Appraisal framework (http://grammatics.com/appraisal/)  Ekman Basic Emotions (https://www.paulekman.com/wp-content/uploads/2013/07/An-Argument-For-Basic-Emotions.pdf)  Mihalcea, R., Liu, H.: A corpus-based approach to finding happiness. In: The AAAI Spring Symposium on Computational Approaches to Weblogs, Stanford, CA (2006) 10/5/2015Presented by Vipul Munot 25