Contextual Phrase-Level Polarity Analysis
Apoorv AgarwalFadi Biadsy
Kathleen McKeown
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Sentiment Analysis
Subjectivity Analysis
Polarity Analysis
Document Sentence Phrase
Positive Negative Neutral
Prior Polarity
LexiconIncorporate
Context
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 2 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Our Contributions
Use Dictionary of Affect in Language (DAL) to suggest a scoringscheme to enable automatic scoring of majority content words
Propose a feature that is a combination of the 3 scores given to words inDAL thats differentiates between high and low subjective words
Suggest new contextual features based on N-gram of polar constituentsof subjective phrases
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 3 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Challenges
Greece has great food but I fi nd the strike to be annoying
Positive phrase
Negative phrase
A sentence may have positive, negative and neutral opinions
It is difficult to accurately mark subjective phrase boundaries
Negations and connectives change prior polarity
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 4 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Challenges
Greece has great food but I fi nd the strike to be annoying
Positive phrase
Negative phrase
A sentence may have positive, negative and neutral opinions
It is difficult to accurately mark subjective phrase boundaries
Negations and connectives change prior polarity
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 4 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Challenges
Greece has great food but I fi nd the strike to be annoying
Positive phrase
Negative phrase
A sentence may have positive, negative and neutral opinions
It is difficult to accurately mark subjective phrase boundaries
Negations and connectives change prior polarity
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 4 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Dictionary of Affect in Language (DAL)
8742 English word dictionary to measure emotional meaning of textsAssigns 3 scores to each word on a scale of 1(low) - 3(high)
Pleasantness (ee)Activeness (aa)Imagery (ii)
Word ee aa iiAffect 1.75 1.85 1.60Affection 2.77 2.25 2.00Slug 1.00 1.18 2.40Energetic 2.25 3.00 3.00Flower 2.75 1.07 3.00
3 scores are uncorrelated (Cowie et. al., 2001)
Contains different scores for inflectional forms
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 5 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Dictionary of Affect in Language (DAL)
8742 English word dictionary to measure emotional meaning of textsAssigns 3 scores to each word on a scale of 1(low) - 3(high)
Pleasantness (ee)Activeness (aa)Imagery (ii)
Word ee aa iiAffect 1.75 1.85 1.60Affection 2.77 2.25 2.00Slug 1.00 1.18 2.40Energetic 2.25 3.00 3.00Flower 2.75 1.07 3.00
3 scores are uncorrelated (Cowie et. al., 2001)
Contains different scores for inflectional forms
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 5 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Dictionary of Affect in Language (DAL)
8742 English word dictionary to measure emotional meaning of textsAssigns 3 scores to each word on a scale of 1(low) - 3(high)
Pleasantness (ee)Activeness (aa)Imagery (ii)
Word ee aa iiAffect 1.75 1.85 1.60Affection 2.77 2.25 2.00Slug 1.00 1.18 2.40Energetic 2.25 3.00 3.00Flower 2.75 1.07 3.00
3 scores are uncorrelated (Cowie et. al., 2001)
Contains different scores for inflectional forms
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 5 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Our Task... (Reminder)
CLASSIFIER
The Taj has great food but I ....
... but I found their service to be lacking....................
Positive
Negative
Neutral
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 6 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Corpus
Multi-Perspective Question Answering (MPQA) corpus
DIRECT SUBJECTIVEVVVVVVEEEEEEEEEEEDDDDDDDDDDDIIIIIIIRRRR
EXPRESSIVE SUBJECTIVE
(Positive) (2779)
(Negative) (7993)(Neutral)
(6471)
Gold Standard: Manual annotation tag (positive, negative, neutral) given tosubjective phrases in the corpus
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 7 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Basic Scoring Scheme
3% words not
scoredEg: ulterior
Not Found
Found
DA L74%
WordNet
Antonyms Synonyms
Not Found
Found
w1
w2
:wn
DA L2 3%
Produces a list of
Searched in
Searched in
97%words scored
Negation Machine
Phrase
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 8 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Norm
Activation - Evaluation (AE) space score (Cowie et. al. 2001)
ee
angry
slug ower
energetic
(0,0) AE = !(ee2 + aa2)
Subjectivity ∝ 1Imagery
Eg: goodies vs good
norm =
√ee2 + aa2
ii
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 9 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Norm
Activation - Evaluation (AE) space score (Cowie et. al. 2001)
ee
angry
slug ower
energetic
(0,0) AE = !(ee2 + aa2)Subjectivity ∝ 1
Imagery
Eg: goodies vs good
norm =
√ee2 + aa2
ii
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 9 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Norm
Activation - Evaluation (AE) space score (Cowie et. al. 2001)
ee
angry
slug ower
energetic
(0,0) AE = !(ee2 + aa2)Subjectivity ∝ 1
Imagery
Eg: goodies vs good
norm =
√ee2 + aa2
ii
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 9 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Contextual Features
This announcement was met with unanimous condemnation
NEG[PP]TARGET[NP]
NEU[VP]
NEU
Expanded to a chunk (our TARGET phrase)
Subjective phrase as marked in the corpus
Lexical Features........ as in previous work (Wilson et. al., 2005)Syntactic Features
N-grams over polar chunks, e.g. bigram: [VP]NEU[PP]TARGETNEG
Minimum and maximum ee scores of chunks in the target phrase
Count of syntactic categories of chunks associated with their priorpolarity to the left and right of target phrase and in the target phrase
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 10 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Experimental Set-up
MPQA corpus# of positive phrases: 2779# of negative phrases: 6471# of neutral phrases: 7993
Random down sampling to get a balanced data-set
Logistic classifier, 10-fold cross validation
Baseline: Word N-gram
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 11 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
3-way Classifier
Positive vs. Negative vs. Neutral%
Acc
urac
y
!"#$%&$'(
)*+,-+./(0*+1(2*334(
DAL + POS + Chunks + N-gram scores (All)
!"#
!$#
!%#
$&#
$'#
$"#
$$#
$%#
(&#
LegendWord N-gram baseline
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 12 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
2-way Classifier
Positive vs. Negative
LegendWord N-gram baseline
!"#
!$#
!%#
!!#
!&#
'"#
'$#
% A
ccur
acy
DAL + POS + Chunks + N-gram scores (All)
!"#$%&'()%$
*)(+'(,$-)(.$/)001$
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 13 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Conclusion
Introduce completely automated system for scoring subjective phrasesusing DAL and WordNet
Introduce new contextual features based on N-grams of constituents
Don’t need accurate phrase boundary
Limitation: do not handle polysemy
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 14 / 15
Introduction DAL Our Task Corpus Feature Extraction Experiments and Results Conclusion Future Work
Future Work
Study if there’s a correlation between subjectivity and polarity
Use same framework for subjectivity and intensity analysis by taggingchunks with the imagery and activeness score respectively
Contextual Phrase-Level Polarity Analysis A. Agarwal, F. Biadsy, K. McKeown 15 / 15