SlideShare une entreprise Scribd logo
1  sur  85
Télécharger pour lire hors ligne
The Words are Alive: Associations with 
Sentiment, Em!tion, Colour, and Music! 
"èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
Saif Mohammad 
National Research Council Canada 
 
Includes joint work with Peter Turney, Tony Yang, Svetlana Kiritchenko, Xiaodan Zhu, Hannah Davis, 
and Colin Cherry. 
1 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG
Word Associations 
Beyond literal meaning, words have other associations that 
often add to their meanings.! 
! Associations with sentiment! 
! Associations with emotions! 
! Associations with social overtones! 
! Associations with cultural implications! 
! Associations with colours! 
! Associations with music! 
Connotations.! 
2
3 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
The Words are Alive: èãèØ—rÊع 
èãAèØ—rÊعssociations èãèØ—rÊع 
èãèØ—rÊع 
with 
Sentiment, Em!tion, Colour, and Music! 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG
Word-Sentiment Associations 
! Adjectives! 
◦ reliable and stunning are typically associated with positive 
sentiment! 
◦ rude, and broken are typically associated with negative 
sentiment! 
! Nouns and verbs! 
◦ holiday and smiling are typically associated positive 
sentiment 
◦ death and crying are typically associated with negative 
sentiment! 
! 
Goal: Capture word-sentiment associations.! 
4
Word-Emotion Associations 
Words have associations with emotions:! 
! attack and public speaking typically associated with fear! 
! yummy and vacation typically associated with joy! 
! loss and crying typically associated with sadness! 
! result and wait typically associated anticipation! 
! 
Goal: Capture word-emotion associations.! 
5
Sentiment Analysis 
! Is a given piece of text positive, negative, or neutral?! 
◦ The text may be a sentence, a tweet, an SMS message, a 
customer review, a document, and so on.! 
6
Sentiment Analysis 
! Is a given piece of text positive, negative, or neutral?! 
◦ The text may be a sentence, a tweet, an SMS message, a 
customer review, a document, and so on.! 
Emotion Analysis 
! 
! What emotion is being expressed in a given piece of text?! 
◦ Example emotions: joy, sadness, fear, anger, guilt, pride, 
optimism, frustration,…! 
! 
7
Applications of Sentiment Analysis and 
Emotion Detection 
! Tracking sentiment towards politicians, movies, products! 
! Improving customer relation models! 
! Identifying what evokes strong emotions in people! 
! Detecting happiness and well-being! 
! Measuring the impact of activist movements through text 
generated in social media.! 
! Improving automatic dialogue systems! 
! Improving automatic tutoring systems! 
! Detecting how people use emotion-bearing-words and 
metaphors to persuade and coerce others! 
8
Sentiment Analysis: Tasks 
! Is a given piece of text positive, negative, or neutral?! 
◦ The text may be a sentence, a tweet, an SMS message, a 
customer review, a document, and so on.! 
! 
9
Sentiment Analysis: Tasks 
! Is a given piece of text positive, negative, or neutral?! 
◦ The text may be a sentence, a tweet, an SMS message, a 
customer review, a document, and so on.! 
! Is a word within a sentence positive, negative, or neutral? ! 
◦ unpredictable movie plot vs. unpredictable steering ! 
! What is the sentiment towards specific aspects of a product?! 
◦ sentiment towards the food and sentiment towards the 
service in a customer review of a restaurant! 
! What is the sentiment towards an entity such as a politician, 
government policy, company, issue, or product.! 
◦ Stance detection: favorable or unfavorable ! 
◦ Framing: focusing on specific dimensions! 
! 
10
Sentiment Analysis: Tasks (continued) 
! What is the sentiment of the speaker/writer?! 
◦ Is the speaker explicitly expressing sentiment?! 
! What sentiment is evoked in the listener/reader?! 
! What is the sentiment of an entity mentioned in the text?! 
! 
Consider the examples below:! 
Team Tapioca destroyed the BeetRoots. 
General Tapioca was killed in an explosion. 
General Tapioca was ruthlessly executed today. 
Mass-murdered General Tapioca finally found and killed in battle. 
May God be with the families of the fallen. 
! 
11
Sentiment Analysis 
! Is a given piece of text positive, negative, or neutral?! 
◦ The text may be a sentence, a tweet, SMS message, a 
customer review, a document, and so on.! 
Emotion Analysis 
! 
! What emotion is being expressed in a given piece of text?! 
◦ Example emotions: joy, sadness, fear, anger, guilt, pride, 
optimism, frustration,…! 
! 
12
Which Emotions? 
13
Charles Darwin 
! published The Expression of the Emotions in Man and 
Animals in 1872 
! seeks to trace the animal origins of human characteristics 
◦ pursing of the lips in concentration 
◦ tightening of the muscles around the eyes in anger 
! claimed that certain facial expressions are universal 
◦ these facial expressions are associated with emotions 
14 
FIG. 20.—Terror, 
from a photograph by Dr. Duchenne.
Debate: Universality of Perception of Emotions 
! Circa 1950’s, Margaret Mead and others believed facial 
expressions and their meanings were culturally determined 
◦ behavioural learning processes 
! Paul Ekman provided the strongest evidence to date that 
Darwin, not Margaret Mead, was correct in claiming facial 
expressions are universal 
! Found universality of six emotions 
15 
Paul Ekman 
Psychologist and discoverer 
of micro expressions. 
Margaret Mead 
Cultural anthropologist
Paul Ekman, 1971: Six Basic Emotions 
! Anger! 
! Disgust! 
! Fear! 
! Joy! 
! Sadness! 
! Surprise! 
! 
! 
16 
A collection of six photographs from 
Paul Ekman's book 'Emotions Revealed.’
Plutchik, 1980: Eight Basic Emotions 
! Anger! 
! Anticipation! 
! Disgust! 
! Fear! 
! Joy! 
! Sadness! 
! Surprise! 
! Trust! 
! 
17
Word-Emotion Associations 
Words have associations with emotions:! 
! attack and public speaking typically associated with fear! 
! yummy and vacation typically associated with joy! 
! loss and crying typically associated with sadness! 
! result and wait typically associated anticipation! 
! 
Goal: Capture word-emotion associations.! 
18
Crowdsourcing 
! Benefits! 
◦ Inexpensive! 
◦ Convenient and time-saving! 
 Especially for large-scale annotation! 
! Challenges! 
◦ Quality control! 
 Malicious annotations! 
 Inadvertent errors! 
◦ Words used in different senses are associated with 
different emotions.! 
19
Word-Choice Question! 
Q1. Which word is closest in meaning to cry? 
.! 
 car  tree  tears  olive! 
! 
!! 
! Generated automatically! 
! Near-synonym taken from thesaurus! 
! Distractors are randomly chosen! 
! Guides Turkers to desired sense! 
! Aids quality control! 
! If Q1 is answered incorrectly:! 
! Responses to the remaining questions for the word are 
discarded! 
20 
Peter Turney, NRC
Association Questions! 
Q2. How much is cry associated with the emotion sadness? 
(for example, death and gloomy are strongly associated with sadness) 
◦ cry is not associated with sadness 
◦ cry is weakly associated with sadness 
◦ cry is moderately associated with sadness 
◦ cry is strongly associated with sadness 
! Eight such questions for the eight basic emotions. 
! Two such questions for positive or negative sentiment.! 
Better agreement when asked ‘associated with’ rather than 
‘evoke’.! 
21
Emotion Lexicon 
! Each word-sense pair is annotated by 5 Turkers! 
! NRC Emotion Lexicon! 
◦ sense-level lexicon! 
 word sense pairs: 24,200! 
◦ word-level lexicon! 
 union of emotions associated with different senses! 
 word types: 14,200! 
! 
Available at: www.saifmohammad.com 
 
Paper: 
Crowdsourcing a Word-Emotion Association Lexicon, Saif Mohammad and Peter Turney, 
Computational Intelligence, 29 (3), pages 436-465, 2013. 
22
Visualizing Em!tions in Text 
Papers: 
! Tracking Sentiment in Mail: How Genders Differ on Emotional Axes, Saif Mohammad and 
Tony Yang, In Proceedings of the ACL 2011 Workshop on ACL 2011 Workshop on 
Computational Approaches to Subjectivity and Sentiment Analysis (WASSA), June 2011, 
Portland, OR. 
! From Once Upon a Time to Happily Ever After: Tracking Emotions in Novels and Fairy Tales, 
Saif Mohammad, In Proceedings of the ACL 2011 Workshop on Language Technology 
for Cultural Heritage, Social Sciences, and Humanities (LaTeCH), June 2011, Portland, 
OR. 
23 
Tony Yang, Simon Fraser University
24
relative salience of trust words 
25
relative salience of sadness words 
26
Emotion Word Density 
average number of emotion words in every X words 
Brothers Grimm fairy tales ordered as per increasing negative word 
density. X = 10,000.! 
27
Analysis of Emotion Words in Books 
Percentage of fear words in close proximity to occurrences of 
America, China, Germany, and India in books. 
28
Percentage of joy and anger words in close proximity 
to occurrences of man and woman in books. 
29
30
31 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
with the sound of 
The Words are Alive: èãèØ—rÊع 
èãAèØ—rÊعssociations èãèØ—rÊع 
èãèØ—rÊع 
with 
Sentiment, Em!tion, Colour, and Music! 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
Hannah Davis  
Artist/Programmer 
 
Paper: 
! Generating Music from Literature. Hannah Davis and Saif M. Mohammad, In Proceedings 
of the EACL Workshop on Computational Linguistics for Literature, April 2014, 
Gothenburg, Sweden.
32 
èãèØ—rÊع 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
A method to generate music from literature.! 
• music that captures the change in the distribution of emotion 
words. ! 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG
Challenges 
! Not changing existing music -- generating novel pieces 
! Paralysis of choice 
! Has to sound good 
! No one way is the right way -- evaluation is tricky 
33
Music-Emotion Associations 
! Major and Minor Keys 
◦ major keys: happiness 
◦ minor keys: sadness 
! Tempo 
◦ fast tempo: happiness or excitement 
! Melody 
◦ a sequence of consonant notes: joy and calm 
◦ a sequence of dissonant notes: excitement, anger, or 
unpleasantness 
34 
Hunter et al., 2010, Hunter et al., 2008, Ali and Peynirciolu, 2010, 
Gabrielsson and Lindstrom, 2001, Webster and Weir, 2005
TransProse 
! Three simultaneous piano melodies pertaining to the 
dominant emotions. 
! Overall positiveness (or, negativeness) determines: 
◦ whether C major or C minor 
◦ base octave 
! Partition the novel into small sections 
! For each section, if emotion density is high: 
◦ split section into many small sub-sections and play many 
short notes corresponding to each sub-section 
◦ higher emotion densities of a subsection lead to more 
dissonant notes 
C major: C, D, E, F, G, A, B 
Order of increasing dissonance: C, G, E, A, D, F, B 
35
Pieces  
 
Three simultaneous piano melodies pertaining to the dominant emotions. 
Examples 
TransProse: www.musicfromtext.com 
Music played 300,000 times since website launched in April 2014. ! 
36
37 
The Words Sentiment, èãèØ—rÊع 
are Alive: Associations with 
Em!èãèØ—rÊع 
tion, Colour, èãèØ—rÊع 
and Music! 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
Papers: 
! Colourful Language: Measuring Word-Colour Associations, Saif Mohammad, In Proceedings 
of the ACL 2011 Workshop on Cognitive Modeling and Computational Linguistics (CMCL), 
June 2011, Portland, OR. 
! Even the Abstract have Colour: Consensus in Word-Colour Associations, Saif Mohammad, In 
Proceedings of the 49th Annual Meeting of the Association for Computational 
Linguistics: Human Language Technologies, June 2011, Portland, OR. 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG
Word-Colour Associations 
white! 
iceberg! 
danger! 
red! 
38 
vegetation! 
green! 
honesty! 
white! 
Concrete concepts! 
Abstract concepts!
Colours Add to Linguistic Information 
! Strengthens the message (improves semantic 
coherence)! 
! Eases cognitive load on the receiver! 
! Conveys the message quickly! 
! Evokes the desired emotional response! 
39
Key Questions 
! How much do we agree on word-colour associations?! 
! How many terms have strong colour associations?! 
! Can we create a lexicon of such word-colour 
associations?! 
! Do concrete concepts have a higher tendency to have 
colour association?! 
! How much do colour associations manifest in text?! 
! 
40
Just 
the A’s 
41
Crowdsourced Questionnaire 
! Berlin and Kay, 1969, and later Kay and Maffi (1999)! 
! If a language has only two colours: white and black.! 
! If a language has three: white, black, red.! 
! And so on till eleven colours.! 
! Berlin and Kay order:! 
1. white, 2. black, 3. red, 4. green, 5. yellow, 6. blue, ! 
7. brown, 8. pink, 9. purple, 10. orange, 11. grey! 
! 
Q. Which colour is associated with sleep?! 
 black  green  purple… (11 colour options in random order) 
NRC Word-Colour Association Lexicon! 
◦ sense-level lexicon: 24,200 word sense pairs! 
42
Associations with Colours 
% of annotations 
12! 
8! 
4! 
0! 
raw! 
% of terms 
25! 
20! 
15! 
10! 
5! 
0! 
voted! 
Berlin and Kay order 
43
Visualizing  
Word-Colour Associations 
Visualization 
44 
Chris Kim and Chris Collins, UOIT
45
46
Key Questions 
! How much do we agree on colour associations?! 
! About 30% of the terms have strong colour 
associations.! 
! Do concrete concepts have a higher tendency to have 
colour association?! 
! Only slightly.! 
! How much do colour associations manifest in text?! 
! Automatic methods obtain accuracies up to 60% 
(most-frequent class baseline: 33.3%)! 
47 
Colourful Language: Measuring Word-Colour Associations, Saif Mohammad, In 
Proceedings of the ACL 2011 Workshop on Cognitive Modeling and Computational 
Linguistics (CMCL), June 2011, Portland, OR.
48 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
The Words are Alive: èãèØ—rÊع 
èãAèØ—rÊعssociations èãèØ—rÊع 
èãèØ—rÊع 
with 
Sentiment, Em!tion, Colour, and Music! 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG
Debate: Universality of Perception of Emotions 
! Grad school experiment on people’s ability to 
distinguish photos of depression from anxiety 
◦ one is based on sadness, and the other on fear 
◦ found agreement to be poor 
! Agreement also drops for Ekman emotions when 
participants are given: 
◦ Just the pictures (no emotion word options) 
◦ Or say, two scowling faces and asked if the two 
are feeling the same emotion 
49 
Paul Ekman 
Psychologist and discoverer 
of micro expressions. 
Margaret Mead 
Cultural anthropologist 
Lisa Barrett 
University Distinguished 
Professor of Psychology, 
Northeastern University
No such thing as Basic Emotions? 
50
Hashtagged Tweets 
! Hashtagged words are good labels of sentiments and 
emotions 
Some jerk just stole my photo on #tumblr #grrr #anger 
! Hashtags are not always good labels: 
◦ hashtag used sarcastically 
The reviewers want me to re-annotate the data. #joy 
◦ hashtagged emotion not in the rest of the message 
Mika used my photo on tumblr. #anger 
Paper: 
#Emotional Tweets, Saif Mohammad, In Proceedings of the First Joint Conference on 
Lexical and Computational Semantics (*Sem), June 2012, Montreal, Canada. 
51
Generating lexicon for 500 emotions 
NRC Hashtag Emotion Lexicon: About 20,000 words associated 
with about 500 emotions! 
52 
Papers: 
• Using Nuances of Emotion to Identify Personality. Saif M. Mohammad and Svetlana 
Kiritchenko, In Proceedings of the ICWSM Workshop on Computational Personality 
Recognition, July 2013, Boston, USA. 
• Using Hashtags to Capture Fine Emotion Categories from Tweets. Saif M. Mohammad, 
Svetlana Kiritchenko, Computational Intelligence, in press.
53 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
èãèØ—rÊع 
The Words are Alive: èãèØ—rÊع 
èãAèØ—rÊعssociations èãèØ—rÊع 
with 
Sentiment, Em!tion, Colour, èãèØ—rÊع 
and Music! 
Papers: 
• Sentiment Analysis of Short Informal Texts. Svetlana Kiritchenko, Xiaodan Zhu and Saif 
 
Mohammad. Journal of Artificial Intelligence Research, 50, August 2014. 
• NRC-Canada: Building the State-of-the-Art in Sentiment Analysis of Tweets, Saif M. Mohammad, 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
èãèØ—rÊع 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
#—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ 
+DQQDK'DYLVDQG6DLI0RKDPPDG 
Svetlana Kiritchenko, and Xiaodan Zhu, In Proceedings of the seventh international 
workshop on Semantic Evaluation Exercises (SemEval-2013), June 2013, Atlanta, USA.
SemEval-2013, Task 2  
! Is a given message positive, negative, or neutral?! 
◦ tweet or SMS! 
! Is a given term within a message positive, negative, or 
neutral? ! 
International competition on sentiment analysis of tweets:! 
◦ SemEval-2013 (co-located with NAACL-2013)! 
◦ 44 teams! 
! 
54 
Svetlana Kiritchenko 
NRC 
Xiaodan Zhu 
NRC
Sentiment Lexicons 
Lists of positive and negative words. 
spectacular positive 0.91 
okay positive 0.3 
lousy negative 0.84 
unpredictable negative 0.17 
Positive 
spectacular 
okay 
Negative 
lousy 
unpredictable 
55
Sentiment Lexicons 
Lists of positive and negative words, with scores indicating the 
degree of association 
spectacular positive 0.91 
okay positive 0.3 
lousy negative 0.84 
unpredictable negative 0.17 
Positive 
spectacular 0.91 
okay 0.3 
Negative 
lousy -0.84 
unpredictable -0.17 
56
Creating New Sentiment Lexicons 
! Compiled a list of seed sentiment words by looking up 
synonyms of excellent, good, bad, and terrible: 
◦ 30 positive words 
◦ 46 negative words 
! Polled the Twitter API for tweets with seed-word hashtags 
◦ A set of 775,000 tweets was compiled from April to 
December 2012 
57
Automatically Generated New Lexicons 
! A tweet is considered: 
◦ positive if it has a positive hashtag 
◦ negative if it has a negative hashtag 
! For every word w in the set of 775,000 tweets, an association 
score is generated: 
score(w) = PMI(w,positive) – PMI(w,negative) 
PMI = pointwise mutual information 
If score(w)  0, then word w is positive 
If score(w)  0, then word w is negative 
58
NRC Hashtag Sentiment Lexicon 
! w can be: 
◦ any unigram in the tweets: 54,129 entries 
◦ any bigram in the tweets: 316,531 entries 
◦ non-contiguous pairs (any two words) from the same tweet: 
308,808 entries 
! Multi-word entries incorporate context: 
unpredictable story 0.4 
unpredictable steering -0.7 
59
Features of the Twitter Lexicon 
! connotation and not necessarily denotation 
◦ tears, party, vacation 
! large vocabulary 
◦ cover wide variety of topics 
◦ lots of informal words 
◦ twitter-specific words 
 creative spellings, hashtags, conjoined words 
! seed hashtags have varying effectiveness 
◦ study on sentiment predictability of different hashtags 
(Kunneman, F.A., Liebrecht, C.C., van den Bosch, A.P.J., 2014) 
60
Negation 
Jack was not thrilled at the prospect of working weekends # 
The bill is not garbage, but we need a more focused effort # 
61 
negator sentiment 
label: negative 
need to determine this word’s 
sentiment when negated 
negator sentiment 
label: negative 
need to determine this word’s 
sentiment when negated
Handling Negation 
Jack was not thrilled at the prospect of working weekends # 
The bill is not garbage, but we need a more focused effort # 
62 
in the list of 
negators 
sentiment 
label: negative 
scope of negation 
in the list of 
negators 
sentiment 
label: negative 
scope of negation 
Scope of negation: from negator till a punctuation (or end of sentence)
63 
negative label tweets or sentences 
positive label
64 
negated contexts 
(in dark grey) 
affirmative contexts 
(in light grey)
65 
All the affirmative contexts All the negated contexts 
Generate sentiment lexicon for 
words in affirmative context 
Generate sentiment lexicon for 
words in negated context
66 
of Sentiment Analysis and 
Detection 
sentiment towards politicians, movies, products! 
customer relation models! 
what evokes strong emotions in people! 
happiness and well-being! 
impact of activist movements through text 
social media.! 
automatic dialogue systems! 
automatic tutoring systems! 
people use emotion-bearing-words and 
persuade and coerce others! 
8 
of Sentiment Analysis and 
Detection 
sentiment towards politicians, movies, products! 
customer relation models! 
what evokes strong emotions in people! 
happiness and well-being! 
impact of activist movements through text 
social media.! 
automatic dialogue systems! 
automatic tutoring systems! 
people use emotion-bearing-words and 
persuade and coerce others! 
8 
of Sentiment Analysis and 
Detection 
sentiment towards politicians, movies, products! 
customer relation models! 
what evokes strong emotions in people! 
happiness and well-being! 
impact of activist movements through text 
social media.! 
automatic dialogue systems! 
automatic tutoring systems! 
people use emotion-bearing-words and 
persuade and coerce others! 
8 
of Sentiment Analysis and 
Detection 
sentiment towards politicians, movies, products! 
customer relation models! 
what evokes strong emotions in people! 
happiness and well-being! 
impact of activist movements through text 
social media.! 
automatic dialogue systems! 
automatic tutoring systems! 
people use emotion-bearing-words and 
persuade and coerce others!
Setup 
! Pre-processing: 
◦ URL - http://someurl 
◦ UserID - @someuser 
◦ Tokenization and part-of-speech (POS) tagging 
(CMU Twitter NLP tool) 
! Classifier: 
◦ SVM with linear kernel 
! Evaluation: 
◦ Macro-averaged F-pos and F-neg 
67
Features 
Features! Examples! 
sentiment lexicon! #positive: 3, scorePositive: 2.2; maxPositive: 1.3; last: 
0.6, scoreNegative: 0.8, scorePositive_neg: 0.4 
word n-grams! spectacular, like documentary 
char n-grams! spect, docu, visua 
part of speech! #N: 5, #V: 2, #A:1 
negation! #Neg: 1; ngram:perfect  ngram:perfect_neg, 
polarity:positive  polarity:positive_neg 
all-caps! YES, COOL 
punctuation! #!+: 1, #?+: 0, #!?+: 0 
word clusters! probably, definitely, probly 
emoticons! :D, :( 
elongated words! soooo, yaayyy 
68
NRC-Canada’s Rankings in SemEval Tasks 
! SemEval-2013 Task 2: Sentiment Analysis in Twitter (40+ teams) 
◦ Tweets 
 message-level: 1st rank 
 term level: 1st rank 
◦ SMS messages 
 message-level: 1st rank 
 term level: 2nd rank 
69
Sentiment Analysis Competition 
Classify Tweets 
F-score 
0.8 
0.7 
0.6 
0.5 
0.4 
0.3 
0.2 
0.1 
0 
Teams 
70
Sentiment Analysis Competition 
Classify SMS 
0.8 
0.7 
0.6 
0.5 
0.4 
0.3 
0.2 
0.1 
0 
Teams 
F-score 
71
NRC-Canada in SemEval-2013, Task 2  
Released description of features. 
Released resources created (tweet-specific sentiment 
lexicons). 
www.purl.com/net/sentimentoftweets 
NRC-Canada: Building the State-of-the-Art in Sentiment Analysis of Tweets. Saif M. Mohammad, 
Svetlana Kiritchenko, and Xiaodan Zhu, In Proceedings of the seventh international workshop 
on Semantic Evaluation Exercises (SemEval-2013), June 2013, Atlanta, USA. 
72
73 
2 2
74 
2 2 
submissions: 30+
NRC-Canada’s Rankings in SemEval Tasks 
! SemEval-2013 Task 2: Sentiment Analysis in Twitter (40+ teams) 
◦ Tweets 
 message-level: 1st rank 
 term level: 1st rank 
◦ SMS messages 
 message-level: 1st rank 
 term level: 2nd rank 
! SemEval-2014 Task 9: Sentiment Analysis in Twitter (40+ teams) 
◦ 1st rank in 5 of 10 subtask-dataset combinations 
! SemEval-2014 Task 4: Aspect Based Sentiment Analysis (30+ teams) 
◦ 1st rank in two of the three sentiment subtasks and 2nd in the other 
75
Feature Contributions (on Tweets) 
0.7! 
0.6! 
0.5! 
0.4! 
0.3! 
F-scores! 
76
Movie Reviews 
! Data from rottentomatoes.com (Pang and Lee, 2005) 
! Socher et al. (2013) training and test set up 
! Message-level task 
◦ Two-way classification: positive or negative 
77
How to manually create sentiment lexicons 
with intensity values? 
! Humans are not good at giving real-valued scores? 
◦ hard to be consistent across multiple annotations 
◦ difficult to maintain consistency across annotators 
 0.8 for annotator may be 0.7 for another 
! Humans are much better at comparisons 
◦ Questions such as: Is one word more positive than 
another? 
◦ Large number of annotations needed. 
Need a method that preserves the comparison aspect, without 
greatly increasing the number of annotations needed. 
78
MaxDiff 
! The annotator is presented with four words (say, A, B, C, and 
D) and asked: 
◦ which word is the most positive 
◦ which is the least positive 
! By answering just these two questions, five out of the six 
inequalities are known 
◦ For e.g.: 
 If A is most positive 
 and D is least positive, then we know: 
A  B, A  C, A  D, B  D, C  D 
79
MaxDiff 
! Each of these MaxDiff questions can be presented to multiple 
annotators. 
! The responses to the MaxDiff questions can then be easily 
translated into: 
◦ a ranking of all the terms 
◦ a real-valued score for all the terms (Orme, 2009) 
! If two words have very different degrees of association (for 
example, A  D), then: 
◦ A will be chosen as most positive much more often than D 
◦ D will be chosen as least positive much more often than A. 
This will eventually lead to a ranked list such that A and D are 
significantly farther apart, and their real-valued association 
scores will also be significantly different. 
80
Dataset of Sentiment Scores  
(Kiritchenko, Zhu, and Mohammad 2014) 
! Selected ~1,500 terms from tweets 
◦ regular English words: peace, jumpy 
◦ tweet-specific terms 
 hashtags and conjoined words: #inspiring, #happytweet, 
#needsleep 
 creative spellings: amazzing, goooood 
◦ negated terms: not nice, nothing better, not sad 
! Generated 3,000 MaxDiff questions 
! Each question annotated by 10 annotators on CrowdFlower 
! Answers converted to real-valued scores (0 to 1) and to a full 
ranking of terms using the counting procedure (Orme, 2009) 
81
Examples of sentiment scores from the 
MaxDiff annotations 
Term Sentiment Score 
0 (most negative) to 1 (most positive) 
awesomeness 
0.9133 
#happygirl 
0.8125 
cant waitttt 
0.8000 
don't worry 
0.5750 
not true 
0.3871 
cold 
0.2750 
#getagrip 
0.2063 
#sickening 
0.1389 
82
Robustness of the Annotations 
! Divided the MaxDiff responses into two equal halves 
! Generated scores and ranking based on each set individually 
! The two sets produced very similar results: 
◦ average difference in scores was 0.04 
◦ Spearman’s Rank Coefficient between the two rankings 
was 0.97 
Dataset will be used as test set for Subtask E in Task 10 of 
SemEval-2015: Determining prior probability. 
Trial data already available: 
http://alt.qcri.org/semeval2015/task10/index.php?id=data-and-tools 
(Full dataset to be released after the shared task competition in Dec., 2014.) 
83
Word Associations 
Beyond literal meaning, words have other associations that 
often add to their meanings.! 
! Associations with sentiment! 
! Associations with emotions! 
! Associations with social overtones! 
! Associations with cultural implications! 
! Associations with colours! 
! Associations with music! 
! 
84
Mechanical Turk Annotations 
! NRC word-emotion and word-sentiment association lexicon 
◦ Entries for 8 emotion and 2 sentiments 
◦ Entries for 14,200 words 
! NRC word-colour association lexicon 
◦ Entries for 11 colours 
◦ Entries for 14,200 words 
! MaxDiff word-sentiment association Lexicon (with intensity scores) 
◦ Entries for 15,000 words 
Automatically Generated Lexicons (from Tweets) 
! Hashtag Emotion Lexicon 
◦ 500 emotions 
◦ Entries for 20,000 words 
! Hashtag Sentiment Lexicon 
◦ Entries for positive and negative sentiment 
◦ Entries for 54,000 words 
www.saifmohammad.com 
saif.mohammad@nrc-cnrc.gc.ca 
85

Contenu connexe

Similaire à The Words are Alive: Associations with Sentiment, Emotions, Colours, and Music.

Understanding and Growing Your Emotional Intelligence with Darby Fetzer
Understanding and Growing Your Emotional Intelligence with Darby FetzerUnderstanding and Growing Your Emotional Intelligence with Darby Fetzer
Understanding and Growing Your Emotional Intelligence with Darby FetzerHPCareer.Net / State of Wellness Inc.
 
De Anza College- M4MHO - 2.15.23 - Presentation.pdf
De Anza College- M4MHO - 2.15.23 - Presentation.pdfDe Anza College- M4MHO - 2.15.23 - Presentation.pdf
De Anza College- M4MHO - 2.15.23 - Presentation.pdfRuvimboChipazi
 
SPSP Poster Feb 2015 (Final Draft)
SPSP Poster Feb 2015 (Final Draft)SPSP Poster Feb 2015 (Final Draft)
SPSP Poster Feb 2015 (Final Draft)Eric Nestingen
 
chronic pain in resting-state fMRI
chronic pain in resting-state fMRIchronic pain in resting-state fMRI
chronic pain in resting-state fMRIAlison Wu
 
Lake washington institute of technology m4 mho - 1.19.22 - presentation
Lake washington institute of technology   m4 mho - 1.19.22 - presentationLake washington institute of technology   m4 mho - 1.19.22 - presentation
Lake washington institute of technology m4 mho - 1.19.22 - presentationAlex Reynolds
 
On emotions, facial recognition and the future of psychology
On emotions, facial recognition and the future of psychologyOn emotions, facial recognition and the future of psychology
On emotions, facial recognition and the future of psychologySvein Øverland
 
Professional E Portfolio
Professional E PortfolioProfessional E Portfolio
Professional E Portfoliocherowkee2
 
Emotional intelligence for personal growth
Emotional intelligence for personal growthEmotional intelligence for personal growth
Emotional intelligence for personal growthPreeti Bhaskar
 
Emotional intelligence for personal growth
Emotional intelligence for personal growthEmotional intelligence for personal growth
Emotional intelligence for personal growthPreeti Bhaskar
 
Brave Communication Week 1 WCES
Brave Communication Week 1 WCESBrave Communication Week 1 WCES
Brave Communication Week 1 WCESrfochler
 
AATH 2018 Keynote Conference San Diego - Highlights from #AATH18! Association...
AATH 2018 Keynote Conference San Diego - Highlights from #AATH18! Association...AATH 2018 Keynote Conference San Diego - Highlights from #AATH18! Association...
AATH 2018 Keynote Conference San Diego - Highlights from #AATH18! Association...Amy Oestreicher
 
Looking OutLooking InFourteenth Edition4EmotionsC.docx
Looking OutLooking InFourteenth Edition4EmotionsC.docxLooking OutLooking InFourteenth Edition4EmotionsC.docx
Looking OutLooking InFourteenth Edition4EmotionsC.docxSHIVA101531
 
Mt San Jacinto - M4MHO - 5.3.23 - Presentation
Mt San Jacinto - M4MHO - 5.3.23 - Presentation Mt San Jacinto - M4MHO - 5.3.23 - Presentation
Mt San Jacinto - M4MHO - 5.3.23 - Presentation PaigeMinett
 
Coastline College - M4MHO - May 11, 2023 - Presentation
Coastline College - M4MHO - May 11, 2023 - PresentationCoastline College - M4MHO - May 11, 2023 - Presentation
Coastline College - M4MHO - May 11, 2023 - PresentationPaigeMinett
 
Bridgewater state university m4 mh online - 4.8.21 - presentation (2)
Bridgewater state university   m4 mh online - 4.8.21 - presentation (2)Bridgewater state university   m4 mh online - 4.8.21 - presentation (2)
Bridgewater state university m4 mh online - 4.8.21 - presentation (2)Alex Reynolds
 
Depression in children and adolescents.pptx
Depression in children and adolescents.pptxDepression in children and adolescents.pptx
Depression in children and adolescents.pptxSadiyaK1
 
F -De Anza_Foothills College - M4MHO - 5.10.23 - Presentation
F -De Anza_Foothills College - M4MHO - 5.10.23 - Presentation F -De Anza_Foothills College - M4MHO - 5.10.23 - Presentation
F -De Anza_Foothills College - M4MHO - 5.10.23 - Presentation PaigeMinett
 
Shasta college am (redding) m4 mh - 2.3.20 - powerpoint presentation
Shasta college am (redding)   m4 mh - 2.3.20 - powerpoint presentationShasta college am (redding)   m4 mh - 2.3.20 - powerpoint presentation
Shasta college am (redding) m4 mh - 2.3.20 - powerpoint presentationKalynSaylor
 

Similaire à The Words are Alive: Associations with Sentiment, Emotions, Colours, and Music. (20)

Understanding and Growing Your Emotional Intelligence with Darby Fetzer
Understanding and Growing Your Emotional Intelligence with Darby FetzerUnderstanding and Growing Your Emotional Intelligence with Darby Fetzer
Understanding and Growing Your Emotional Intelligence with Darby Fetzer
 
De Anza College- M4MHO - 2.15.23 - Presentation.pdf
De Anza College- M4MHO - 2.15.23 - Presentation.pdfDe Anza College- M4MHO - 2.15.23 - Presentation.pdf
De Anza College- M4MHO - 2.15.23 - Presentation.pdf
 
SPSP Poster Feb 2015 (Final Draft)
SPSP Poster Feb 2015 (Final Draft)SPSP Poster Feb 2015 (Final Draft)
SPSP Poster Feb 2015 (Final Draft)
 
chronic pain in resting-state fMRI
chronic pain in resting-state fMRIchronic pain in resting-state fMRI
chronic pain in resting-state fMRI
 
Lake washington institute of technology m4 mho - 1.19.22 - presentation
Lake washington institute of technology   m4 mho - 1.19.22 - presentationLake washington institute of technology   m4 mho - 1.19.22 - presentation
Lake washington institute of technology m4 mho - 1.19.22 - presentation
 
On emotions, facial recognition and the future of psychology
On emotions, facial recognition and the future of psychologyOn emotions, facial recognition and the future of psychology
On emotions, facial recognition and the future of psychology
 
Professional E Portfolio
Professional E PortfolioProfessional E Portfolio
Professional E Portfolio
 
Emotional intelligence for personal growth
Emotional intelligence for personal growthEmotional intelligence for personal growth
Emotional intelligence for personal growth
 
Emotional intelligence for personal growth
Emotional intelligence for personal growthEmotional intelligence for personal growth
Emotional intelligence for personal growth
 
Brave Communication Week 1 WCES
Brave Communication Week 1 WCESBrave Communication Week 1 WCES
Brave Communication Week 1 WCES
 
LASD STEAM class talk
LASD STEAM class talkLASD STEAM class talk
LASD STEAM class talk
 
AATH 2018 Keynote Conference San Diego - Highlights from #AATH18! Association...
AATH 2018 Keynote Conference San Diego - Highlights from #AATH18! Association...AATH 2018 Keynote Conference San Diego - Highlights from #AATH18! Association...
AATH 2018 Keynote Conference San Diego - Highlights from #AATH18! Association...
 
Looking OutLooking InFourteenth Edition4EmotionsC.docx
Looking OutLooking InFourteenth Edition4EmotionsC.docxLooking OutLooking InFourteenth Edition4EmotionsC.docx
Looking OutLooking InFourteenth Edition4EmotionsC.docx
 
Mt San Jacinto - M4MHO - 5.3.23 - Presentation
Mt San Jacinto - M4MHO - 5.3.23 - Presentation Mt San Jacinto - M4MHO - 5.3.23 - Presentation
Mt San Jacinto - M4MHO - 5.3.23 - Presentation
 
Coastline College - M4MHO - May 11, 2023 - Presentation
Coastline College - M4MHO - May 11, 2023 - PresentationCoastline College - M4MHO - May 11, 2023 - Presentation
Coastline College - M4MHO - May 11, 2023 - Presentation
 
Bridgewater state university m4 mh online - 4.8.21 - presentation (2)
Bridgewater state university   m4 mh online - 4.8.21 - presentation (2)Bridgewater state university   m4 mh online - 4.8.21 - presentation (2)
Bridgewater state university m4 mh online - 4.8.21 - presentation (2)
 
Depression in children and adolescents.pptx
Depression in children and adolescents.pptxDepression in children and adolescents.pptx
Depression in children and adolescents.pptx
 
F -De Anza_Foothills College - M4MHO - 5.10.23 - Presentation
F -De Anza_Foothills College - M4MHO - 5.10.23 - Presentation F -De Anza_Foothills College - M4MHO - 5.10.23 - Presentation
F -De Anza_Foothills College - M4MHO - 5.10.23 - Presentation
 
TEL Digital Tools From PBS For Educators
TEL Digital Tools From PBS For EducatorsTEL Digital Tools From PBS For Educators
TEL Digital Tools From PBS For Educators
 
Shasta college am (redding) m4 mh - 2.3.20 - powerpoint presentation
Shasta college am (redding)   m4 mh - 2.3.20 - powerpoint presentationShasta college am (redding)   m4 mh - 2.3.20 - powerpoint presentation
Shasta college am (redding) m4 mh - 2.3.20 - powerpoint presentation
 

Dernier

Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfrohankumarsinghrore1
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfSumit Kumar yadav
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxAArockiyaNisha
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
 

Dernier (20)

Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdf
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 

The Words are Alive: Associations with Sentiment, Emotions, Colours, and Music.

  • 1. The Words are Alive: Associations with Sentiment, Em!tion, Colour, and Music! "èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع Saif Mohammad National Research Council Canada Includes joint work with Peter Turney, Tony Yang, Svetlana Kiritchenko, Xiaodan Zhu, Hannah Davis, and Colin Cherry. 1 #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG
  • 2. Word Associations Beyond literal meaning, words have other associations that often add to their meanings.! ! Associations with sentiment! ! Associations with emotions! ! Associations with social overtones! ! Associations with cultural implications! ! Associations with colours! ! Associations with music! Connotations.! 2
  • 3. 3 èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع The Words are Alive: èãèØ—rÊع èãAèØ—rÊعssociations èãèØ—rÊع èãèØ—rÊع with Sentiment, Em!tion, Colour, and Music! #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG
  • 4. Word-Sentiment Associations ! Adjectives! ◦ reliable and stunning are typically associated with positive sentiment! ◦ rude, and broken are typically associated with negative sentiment! ! Nouns and verbs! ◦ holiday and smiling are typically associated positive sentiment ◦ death and crying are typically associated with negative sentiment! ! Goal: Capture word-sentiment associations.! 4
  • 5. Word-Emotion Associations Words have associations with emotions:! ! attack and public speaking typically associated with fear! ! yummy and vacation typically associated with joy! ! loss and crying typically associated with sadness! ! result and wait typically associated anticipation! ! Goal: Capture word-emotion associations.! 5
  • 6. Sentiment Analysis ! Is a given piece of text positive, negative, or neutral?! ◦ The text may be a sentence, a tweet, an SMS message, a customer review, a document, and so on.! 6
  • 7. Sentiment Analysis ! Is a given piece of text positive, negative, or neutral?! ◦ The text may be a sentence, a tweet, an SMS message, a customer review, a document, and so on.! Emotion Analysis ! ! What emotion is being expressed in a given piece of text?! ◦ Example emotions: joy, sadness, fear, anger, guilt, pride, optimism, frustration,…! ! 7
  • 8. Applications of Sentiment Analysis and Emotion Detection ! Tracking sentiment towards politicians, movies, products! ! Improving customer relation models! ! Identifying what evokes strong emotions in people! ! Detecting happiness and well-being! ! Measuring the impact of activist movements through text generated in social media.! ! Improving automatic dialogue systems! ! Improving automatic tutoring systems! ! Detecting how people use emotion-bearing-words and metaphors to persuade and coerce others! 8
  • 9. Sentiment Analysis: Tasks ! Is a given piece of text positive, negative, or neutral?! ◦ The text may be a sentence, a tweet, an SMS message, a customer review, a document, and so on.! ! 9
  • 10. Sentiment Analysis: Tasks ! Is a given piece of text positive, negative, or neutral?! ◦ The text may be a sentence, a tweet, an SMS message, a customer review, a document, and so on.! ! Is a word within a sentence positive, negative, or neutral? ! ◦ unpredictable movie plot vs. unpredictable steering ! ! What is the sentiment towards specific aspects of a product?! ◦ sentiment towards the food and sentiment towards the service in a customer review of a restaurant! ! What is the sentiment towards an entity such as a politician, government policy, company, issue, or product.! ◦ Stance detection: favorable or unfavorable ! ◦ Framing: focusing on specific dimensions! ! 10
  • 11. Sentiment Analysis: Tasks (continued) ! What is the sentiment of the speaker/writer?! ◦ Is the speaker explicitly expressing sentiment?! ! What sentiment is evoked in the listener/reader?! ! What is the sentiment of an entity mentioned in the text?! ! Consider the examples below:! Team Tapioca destroyed the BeetRoots. General Tapioca was killed in an explosion. General Tapioca was ruthlessly executed today. Mass-murdered General Tapioca finally found and killed in battle. May God be with the families of the fallen. ! 11
  • 12. Sentiment Analysis ! Is a given piece of text positive, negative, or neutral?! ◦ The text may be a sentence, a tweet, SMS message, a customer review, a document, and so on.! Emotion Analysis ! ! What emotion is being expressed in a given piece of text?! ◦ Example emotions: joy, sadness, fear, anger, guilt, pride, optimism, frustration,…! ! 12
  • 14. Charles Darwin ! published The Expression of the Emotions in Man and Animals in 1872 ! seeks to trace the animal origins of human characteristics ◦ pursing of the lips in concentration ◦ tightening of the muscles around the eyes in anger ! claimed that certain facial expressions are universal ◦ these facial expressions are associated with emotions 14 FIG. 20.—Terror, from a photograph by Dr. Duchenne.
  • 15. Debate: Universality of Perception of Emotions ! Circa 1950’s, Margaret Mead and others believed facial expressions and their meanings were culturally determined ◦ behavioural learning processes ! Paul Ekman provided the strongest evidence to date that Darwin, not Margaret Mead, was correct in claiming facial expressions are universal ! Found universality of six emotions 15 Paul Ekman Psychologist and discoverer of micro expressions. Margaret Mead Cultural anthropologist
  • 16. Paul Ekman, 1971: Six Basic Emotions ! Anger! ! Disgust! ! Fear! ! Joy! ! Sadness! ! Surprise! ! ! 16 A collection of six photographs from Paul Ekman's book 'Emotions Revealed.’
  • 17. Plutchik, 1980: Eight Basic Emotions ! Anger! ! Anticipation! ! Disgust! ! Fear! ! Joy! ! Sadness! ! Surprise! ! Trust! ! 17
  • 18. Word-Emotion Associations Words have associations with emotions:! ! attack and public speaking typically associated with fear! ! yummy and vacation typically associated with joy! ! loss and crying typically associated with sadness! ! result and wait typically associated anticipation! ! Goal: Capture word-emotion associations.! 18
  • 19. Crowdsourcing ! Benefits! ◦ Inexpensive! ◦ Convenient and time-saving! Especially for large-scale annotation! ! Challenges! ◦ Quality control! Malicious annotations! Inadvertent errors! ◦ Words used in different senses are associated with different emotions.! 19
  • 20. Word-Choice Question! Q1. Which word is closest in meaning to cry? .! car tree tears olive! ! !! ! Generated automatically! ! Near-synonym taken from thesaurus! ! Distractors are randomly chosen! ! Guides Turkers to desired sense! ! Aids quality control! ! If Q1 is answered incorrectly:! ! Responses to the remaining questions for the word are discarded! 20 Peter Turney, NRC
  • 21. Association Questions! Q2. How much is cry associated with the emotion sadness? (for example, death and gloomy are strongly associated with sadness) ◦ cry is not associated with sadness ◦ cry is weakly associated with sadness ◦ cry is moderately associated with sadness ◦ cry is strongly associated with sadness ! Eight such questions for the eight basic emotions. ! Two such questions for positive or negative sentiment.! Better agreement when asked ‘associated with’ rather than ‘evoke’.! 21
  • 22. Emotion Lexicon ! Each word-sense pair is annotated by 5 Turkers! ! NRC Emotion Lexicon! ◦ sense-level lexicon! word sense pairs: 24,200! ◦ word-level lexicon! union of emotions associated with different senses! word types: 14,200! ! Available at: www.saifmohammad.com Paper: Crowdsourcing a Word-Emotion Association Lexicon, Saif Mohammad and Peter Turney, Computational Intelligence, 29 (3), pages 436-465, 2013. 22
  • 23. Visualizing Em!tions in Text Papers: ! Tracking Sentiment in Mail: How Genders Differ on Emotional Axes, Saif Mohammad and Tony Yang, In Proceedings of the ACL 2011 Workshop on ACL 2011 Workshop on Computational Approaches to Subjectivity and Sentiment Analysis (WASSA), June 2011, Portland, OR. ! From Once Upon a Time to Happily Ever After: Tracking Emotions in Novels and Fairy Tales, Saif Mohammad, In Proceedings of the ACL 2011 Workshop on Language Technology for Cultural Heritage, Social Sciences, and Humanities (LaTeCH), June 2011, Portland, OR. 23 Tony Yang, Simon Fraser University
  • 24. 24
  • 25. relative salience of trust words 25
  • 26. relative salience of sadness words 26
  • 27. Emotion Word Density average number of emotion words in every X words Brothers Grimm fairy tales ordered as per increasing negative word density. X = 10,000.! 27
  • 28. Analysis of Emotion Words in Books Percentage of fear words in close proximity to occurrences of America, China, Germany, and India in books. 28
  • 29. Percentage of joy and anger words in close proximity to occurrences of man and woman in books. 29
  • 30. 30
  • 31. 31 èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع with the sound of The Words are Alive: èãèØ—rÊع èãAèØ—rÊعssociations èãèØ—rÊع èãèØ—rÊع with Sentiment, Em!tion, Colour, and Music! #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG Hannah Davis Artist/Programmer Paper: ! Generating Music from Literature. Hannah Davis and Saif M. Mohammad, In Proceedings of the EACL Workshop on Computational Linguistics for Literature, April 2014, Gothenburg, Sweden.
  • 32. 32 èãèØ—rÊع èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG A method to generate music from literature.! • music that captures the change in the distribution of emotion words. ! #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG
  • 33. Challenges ! Not changing existing music -- generating novel pieces ! Paralysis of choice ! Has to sound good ! No one way is the right way -- evaluation is tricky 33
  • 34. Music-Emotion Associations ! Major and Minor Keys ◦ major keys: happiness ◦ minor keys: sadness ! Tempo ◦ fast tempo: happiness or excitement ! Melody ◦ a sequence of consonant notes: joy and calm ◦ a sequence of dissonant notes: excitement, anger, or unpleasantness 34 Hunter et al., 2010, Hunter et al., 2008, Ali and Peynirciolu, 2010, Gabrielsson and Lindstrom, 2001, Webster and Weir, 2005
  • 35. TransProse ! Three simultaneous piano melodies pertaining to the dominant emotions. ! Overall positiveness (or, negativeness) determines: ◦ whether C major or C minor ◦ base octave ! Partition the novel into small sections ! For each section, if emotion density is high: ◦ split section into many small sub-sections and play many short notes corresponding to each sub-section ◦ higher emotion densities of a subsection lead to more dissonant notes C major: C, D, E, F, G, A, B Order of increasing dissonance: C, G, E, A, D, F, B 35
  • 36. Pieces Three simultaneous piano melodies pertaining to the dominant emotions. Examples TransProse: www.musicfromtext.com Music played 300,000 times since website launched in April 2014. ! 36
  • 37. 37 The Words Sentiment, èãèØ—rÊع are Alive: Associations with Em!èãèØ—rÊع tion, Colour, èãèØ—rÊع and Music! èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع Papers: ! Colourful Language: Measuring Word-Colour Associations, Saif Mohammad, In Proceedings of the ACL 2011 Workshop on Cognitive Modeling and Computational Linguistics (CMCL), June 2011, Portland, OR. ! Even the Abstract have Colour: Consensus in Word-Colour Associations, Saif Mohammad, In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, June 2011, Portland, OR. #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG
  • 38. Word-Colour Associations white! iceberg! danger! red! 38 vegetation! green! honesty! white! Concrete concepts! Abstract concepts!
  • 39. Colours Add to Linguistic Information ! Strengthens the message (improves semantic coherence)! ! Eases cognitive load on the receiver! ! Conveys the message quickly! ! Evokes the desired emotional response! 39
  • 40. Key Questions ! How much do we agree on word-colour associations?! ! How many terms have strong colour associations?! ! Can we create a lexicon of such word-colour associations?! ! Do concrete concepts have a higher tendency to have colour association?! ! How much do colour associations manifest in text?! ! 40
  • 42. Crowdsourced Questionnaire ! Berlin and Kay, 1969, and later Kay and Maffi (1999)! ! If a language has only two colours: white and black.! ! If a language has three: white, black, red.! ! And so on till eleven colours.! ! Berlin and Kay order:! 1. white, 2. black, 3. red, 4. green, 5. yellow, 6. blue, ! 7. brown, 8. pink, 9. purple, 10. orange, 11. grey! ! Q. Which colour is associated with sleep?! black green purple… (11 colour options in random order) NRC Word-Colour Association Lexicon! ◦ sense-level lexicon: 24,200 word sense pairs! 42
  • 43. Associations with Colours % of annotations 12! 8! 4! 0! raw! % of terms 25! 20! 15! 10! 5! 0! voted! Berlin and Kay order 43
  • 44. Visualizing Word-Colour Associations Visualization 44 Chris Kim and Chris Collins, UOIT
  • 45. 45
  • 46. 46
  • 47. Key Questions ! How much do we agree on colour associations?! ! About 30% of the terms have strong colour associations.! ! Do concrete concepts have a higher tendency to have colour association?! ! Only slightly.! ! How much do colour associations manifest in text?! ! Automatic methods obtain accuracies up to 60% (most-frequent class baseline: 33.3%)! 47 Colourful Language: Measuring Word-Colour Associations, Saif Mohammad, In Proceedings of the ACL 2011 Workshop on Cognitive Modeling and Computational Linguistics (CMCL), June 2011, Portland, OR.
  • 48. 48 èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع The Words are Alive: èãèØ—rÊع èãAèØ—rÊعssociations èãèØ—rÊع èãèØ—rÊع with Sentiment, Em!tion, Colour, and Music! #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG
  • 49. Debate: Universality of Perception of Emotions ! Grad school experiment on people’s ability to distinguish photos of depression from anxiety ◦ one is based on sadness, and the other on fear ◦ found agreement to be poor ! Agreement also drops for Ekman emotions when participants are given: ◦ Just the pictures (no emotion word options) ◦ Or say, two scowling faces and asked if the two are feeling the same emotion 49 Paul Ekman Psychologist and discoverer of micro expressions. Margaret Mead Cultural anthropologist Lisa Barrett University Distinguished Professor of Psychology, Northeastern University
  • 50. No such thing as Basic Emotions? 50
  • 51. Hashtagged Tweets ! Hashtagged words are good labels of sentiments and emotions Some jerk just stole my photo on #tumblr #grrr #anger ! Hashtags are not always good labels: ◦ hashtag used sarcastically The reviewers want me to re-annotate the data. #joy ◦ hashtagged emotion not in the rest of the message Mika used my photo on tumblr. #anger Paper: #Emotional Tweets, Saif Mohammad, In Proceedings of the First Joint Conference on Lexical and Computational Semantics (*Sem), June 2012, Montreal, Canada. 51
  • 52. Generating lexicon for 500 emotions NRC Hashtag Emotion Lexicon: About 20,000 words associated with about 500 emotions! 52 Papers: • Using Nuances of Emotion to Identify Personality. Saif M. Mohammad and Svetlana Kiritchenko, In Proceedings of the ICWSM Workshop on Computational Personality Recognition, July 2013, Boston, USA. • Using Hashtags to Capture Fine Emotion Categories from Tweets. Saif M. Mohammad, Svetlana Kiritchenko, Computational Intelligence, in press.
  • 53. 53 èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع èãèØ—rÊع The Words are Alive: èãèØ—rÊع èãAèØ—rÊعssociations èãèØ—rÊع with Sentiment, Em!tion, Colour, èãèØ—rÊع and Music! Papers: • Sentiment Analysis of Short Informal Texts. Svetlana Kiritchenko, Xiaodan Zhu and Saif Mohammad. Journal of Artificial Intelligence Research, 50, August 2014. • NRC-Canada: Building the State-of-the-Art in Sentiment Analysis of Tweets, Saif M. Mohammad, #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG èãèØ—rÊع #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG #—×؁ã«Ã¢AèÜ«¡ØÊÂ;«ã—؁ãèØ—ʈ +DQQDK'DYLVDQG6DLI0RKDPPDG Svetlana Kiritchenko, and Xiaodan Zhu, In Proceedings of the seventh international workshop on Semantic Evaluation Exercises (SemEval-2013), June 2013, Atlanta, USA.
  • 54. SemEval-2013, Task 2 ! Is a given message positive, negative, or neutral?! ◦ tweet or SMS! ! Is a given term within a message positive, negative, or neutral? ! International competition on sentiment analysis of tweets:! ◦ SemEval-2013 (co-located with NAACL-2013)! ◦ 44 teams! ! 54 Svetlana Kiritchenko NRC Xiaodan Zhu NRC
  • 55. Sentiment Lexicons Lists of positive and negative words. spectacular positive 0.91 okay positive 0.3 lousy negative 0.84 unpredictable negative 0.17 Positive spectacular okay Negative lousy unpredictable 55
  • 56. Sentiment Lexicons Lists of positive and negative words, with scores indicating the degree of association spectacular positive 0.91 okay positive 0.3 lousy negative 0.84 unpredictable negative 0.17 Positive spectacular 0.91 okay 0.3 Negative lousy -0.84 unpredictable -0.17 56
  • 57. Creating New Sentiment Lexicons ! Compiled a list of seed sentiment words by looking up synonyms of excellent, good, bad, and terrible: ◦ 30 positive words ◦ 46 negative words ! Polled the Twitter API for tweets with seed-word hashtags ◦ A set of 775,000 tweets was compiled from April to December 2012 57
  • 58. Automatically Generated New Lexicons ! A tweet is considered: ◦ positive if it has a positive hashtag ◦ negative if it has a negative hashtag ! For every word w in the set of 775,000 tweets, an association score is generated: score(w) = PMI(w,positive) – PMI(w,negative) PMI = pointwise mutual information If score(w) 0, then word w is positive If score(w) 0, then word w is negative 58
  • 59. NRC Hashtag Sentiment Lexicon ! w can be: ◦ any unigram in the tweets: 54,129 entries ◦ any bigram in the tweets: 316,531 entries ◦ non-contiguous pairs (any two words) from the same tweet: 308,808 entries ! Multi-word entries incorporate context: unpredictable story 0.4 unpredictable steering -0.7 59
  • 60. Features of the Twitter Lexicon ! connotation and not necessarily denotation ◦ tears, party, vacation ! large vocabulary ◦ cover wide variety of topics ◦ lots of informal words ◦ twitter-specific words creative spellings, hashtags, conjoined words ! seed hashtags have varying effectiveness ◦ study on sentiment predictability of different hashtags (Kunneman, F.A., Liebrecht, C.C., van den Bosch, A.P.J., 2014) 60
  • 61. Negation Jack was not thrilled at the prospect of working weekends # The bill is not garbage, but we need a more focused effort # 61 negator sentiment label: negative need to determine this word’s sentiment when negated negator sentiment label: negative need to determine this word’s sentiment when negated
  • 62. Handling Negation Jack was not thrilled at the prospect of working weekends # The bill is not garbage, but we need a more focused effort # 62 in the list of negators sentiment label: negative scope of negation in the list of negators sentiment label: negative scope of negation Scope of negation: from negator till a punctuation (or end of sentence)
  • 63. 63 negative label tweets or sentences positive label
  • 64. 64 negated contexts (in dark grey) affirmative contexts (in light grey)
  • 65. 65 All the affirmative contexts All the negated contexts Generate sentiment lexicon for words in affirmative context Generate sentiment lexicon for words in negated context
  • 66. 66 of Sentiment Analysis and Detection sentiment towards politicians, movies, products! customer relation models! what evokes strong emotions in people! happiness and well-being! impact of activist movements through text social media.! automatic dialogue systems! automatic tutoring systems! people use emotion-bearing-words and persuade and coerce others! 8 of Sentiment Analysis and Detection sentiment towards politicians, movies, products! customer relation models! what evokes strong emotions in people! happiness and well-being! impact of activist movements through text social media.! automatic dialogue systems! automatic tutoring systems! people use emotion-bearing-words and persuade and coerce others! 8 of Sentiment Analysis and Detection sentiment towards politicians, movies, products! customer relation models! what evokes strong emotions in people! happiness and well-being! impact of activist movements through text social media.! automatic dialogue systems! automatic tutoring systems! people use emotion-bearing-words and persuade and coerce others! 8 of Sentiment Analysis and Detection sentiment towards politicians, movies, products! customer relation models! what evokes strong emotions in people! happiness and well-being! impact of activist movements through text social media.! automatic dialogue systems! automatic tutoring systems! people use emotion-bearing-words and persuade and coerce others!
  • 67. Setup ! Pre-processing: ◦ URL - http://someurl ◦ UserID - @someuser ◦ Tokenization and part-of-speech (POS) tagging (CMU Twitter NLP tool) ! Classifier: ◦ SVM with linear kernel ! Evaluation: ◦ Macro-averaged F-pos and F-neg 67
  • 68. Features Features! Examples! sentiment lexicon! #positive: 3, scorePositive: 2.2; maxPositive: 1.3; last: 0.6, scoreNegative: 0.8, scorePositive_neg: 0.4 word n-grams! spectacular, like documentary char n-grams! spect, docu, visua part of speech! #N: 5, #V: 2, #A:1 negation! #Neg: 1; ngram:perfect ngram:perfect_neg, polarity:positive polarity:positive_neg all-caps! YES, COOL punctuation! #!+: 1, #?+: 0, #!?+: 0 word clusters! probably, definitely, probly emoticons! :D, :( elongated words! soooo, yaayyy 68
  • 69. NRC-Canada’s Rankings in SemEval Tasks ! SemEval-2013 Task 2: Sentiment Analysis in Twitter (40+ teams) ◦ Tweets message-level: 1st rank term level: 1st rank ◦ SMS messages message-level: 1st rank term level: 2nd rank 69
  • 70. Sentiment Analysis Competition Classify Tweets F-score 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 Teams 70
  • 71. Sentiment Analysis Competition Classify SMS 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 Teams F-score 71
  • 72. NRC-Canada in SemEval-2013, Task 2 Released description of features. Released resources created (tweet-specific sentiment lexicons). www.purl.com/net/sentimentoftweets NRC-Canada: Building the State-of-the-Art in Sentiment Analysis of Tweets. Saif M. Mohammad, Svetlana Kiritchenko, and Xiaodan Zhu, In Proceedings of the seventh international workshop on Semantic Evaluation Exercises (SemEval-2013), June 2013, Atlanta, USA. 72
  • 74. 74 2 2 submissions: 30+
  • 75. NRC-Canada’s Rankings in SemEval Tasks ! SemEval-2013 Task 2: Sentiment Analysis in Twitter (40+ teams) ◦ Tweets message-level: 1st rank term level: 1st rank ◦ SMS messages message-level: 1st rank term level: 2nd rank ! SemEval-2014 Task 9: Sentiment Analysis in Twitter (40+ teams) ◦ 1st rank in 5 of 10 subtask-dataset combinations ! SemEval-2014 Task 4: Aspect Based Sentiment Analysis (30+ teams) ◦ 1st rank in two of the three sentiment subtasks and 2nd in the other 75
  • 76. Feature Contributions (on Tweets) 0.7! 0.6! 0.5! 0.4! 0.3! F-scores! 76
  • 77. Movie Reviews ! Data from rottentomatoes.com (Pang and Lee, 2005) ! Socher et al. (2013) training and test set up ! Message-level task ◦ Two-way classification: positive or negative 77
  • 78. How to manually create sentiment lexicons with intensity values? ! Humans are not good at giving real-valued scores? ◦ hard to be consistent across multiple annotations ◦ difficult to maintain consistency across annotators 0.8 for annotator may be 0.7 for another ! Humans are much better at comparisons ◦ Questions such as: Is one word more positive than another? ◦ Large number of annotations needed. Need a method that preserves the comparison aspect, without greatly increasing the number of annotations needed. 78
  • 79. MaxDiff ! The annotator is presented with four words (say, A, B, C, and D) and asked: ◦ which word is the most positive ◦ which is the least positive ! By answering just these two questions, five out of the six inequalities are known ◦ For e.g.: If A is most positive and D is least positive, then we know: A B, A C, A D, B D, C D 79
  • 80. MaxDiff ! Each of these MaxDiff questions can be presented to multiple annotators. ! The responses to the MaxDiff questions can then be easily translated into: ◦ a ranking of all the terms ◦ a real-valued score for all the terms (Orme, 2009) ! If two words have very different degrees of association (for example, A D), then: ◦ A will be chosen as most positive much more often than D ◦ D will be chosen as least positive much more often than A. This will eventually lead to a ranked list such that A and D are significantly farther apart, and their real-valued association scores will also be significantly different. 80
  • 81. Dataset of Sentiment Scores (Kiritchenko, Zhu, and Mohammad 2014) ! Selected ~1,500 terms from tweets ◦ regular English words: peace, jumpy ◦ tweet-specific terms hashtags and conjoined words: #inspiring, #happytweet, #needsleep creative spellings: amazzing, goooood ◦ negated terms: not nice, nothing better, not sad ! Generated 3,000 MaxDiff questions ! Each question annotated by 10 annotators on CrowdFlower ! Answers converted to real-valued scores (0 to 1) and to a full ranking of terms using the counting procedure (Orme, 2009) 81
  • 82. Examples of sentiment scores from the MaxDiff annotations Term Sentiment Score 0 (most negative) to 1 (most positive) awesomeness 0.9133 #happygirl 0.8125 cant waitttt 0.8000 don't worry 0.5750 not true 0.3871 cold 0.2750 #getagrip 0.2063 #sickening 0.1389 82
  • 83. Robustness of the Annotations ! Divided the MaxDiff responses into two equal halves ! Generated scores and ranking based on each set individually ! The two sets produced very similar results: ◦ average difference in scores was 0.04 ◦ Spearman’s Rank Coefficient between the two rankings was 0.97 Dataset will be used as test set for Subtask E in Task 10 of SemEval-2015: Determining prior probability. Trial data already available: http://alt.qcri.org/semeval2015/task10/index.php?id=data-and-tools (Full dataset to be released after the shared task competition in Dec., 2014.) 83
  • 84. Word Associations Beyond literal meaning, words have other associations that often add to their meanings.! ! Associations with sentiment! ! Associations with emotions! ! Associations with social overtones! ! Associations with cultural implications! ! Associations with colours! ! Associations with music! ! 84
  • 85. Mechanical Turk Annotations ! NRC word-emotion and word-sentiment association lexicon ◦ Entries for 8 emotion and 2 sentiments ◦ Entries for 14,200 words ! NRC word-colour association lexicon ◦ Entries for 11 colours ◦ Entries for 14,200 words ! MaxDiff word-sentiment association Lexicon (with intensity scores) ◦ Entries for 15,000 words Automatically Generated Lexicons (from Tweets) ! Hashtag Emotion Lexicon ◦ 500 emotions ◦ Entries for 20,000 words ! Hashtag Sentiment Lexicon ◦ Entries for positive and negative sentiment ◦ Entries for 54,000 words www.saifmohammad.com saif.mohammad@nrc-cnrc.gc.ca 85