SlideShare a Scribd company logo
EMOTION
MINING IN TEXT
LOVEPREET SINGH
SLIET Longowal
Definition of Text Mining
 Text Mining is a subset of Unstructured Data
Management.
 An exploration and analysis of textual data
by automatic and semi automatic means to
discover new knowledge.
Definition of Emotion
 A strong feeling deriving from one's
circumstances, mood, or relationships with
others.
 In psychology, emotion is often defined as a
complex state of feeling that results in
physical and psychological changes that
influence thought and behavior.
 Synonyms: feeling, sentiment, sensation
Elements
1.Thoughts: Ideas or images that pop into your
head when you are experiencing an emotion.
2.Your Body's Response: The physical changes
you experience (for example, increased heart
rate, feeling queasy) when you experience an
emotion.
3.Behaviours: The things you want or feel an
urge to do when you experience a certain
emotion.
Emotions from Text
 The purpose is not to identify specific
emotions but rather to find the emotional
state or mind set of a writer while writing
the text.
Theories of Emotion
The major theories of emotion can be grouped
into three main categories:
 Physiological
 Neurological
 Cognitive
Theories of Emotion
Physiological theories suggest that responses
within the body are responsible for emotions.
Neurological theories propose that activity
within the brain leads to emotional responses.
Cognitive theories argue that thoughts and
other mental activity play an essential role in
the formation of emotions.
Emotion mining in text
Positive & Negative Emotions
Positive: any emotion that makes us feel good
eg. appreciation, joy, love, passion, freedom,
excitement.
Negative: emotions stop us from thinking and
behaving rationally and seeing situations in
their true perspective eg. Jealousy, anger, fear,
guilt, shame, frustration, sadness.
Example: Emotion by viewing
an object
Factors on which Emotion
depends
 Gender
 Situation
 Age
Techniques for Emotion
Detection
 Keyword Spotting Technique
 Lexical Affinity Method
 Learning Based Methods
 Hybrid Methods
1. Keyword Spotting Technique
Text Tokenization Identify
Emotions Word
Analysis of
Intensity
Negation
Check
Emotion
2. Lexical Affinity Method
 Extension of keyword spotting technique.
 It assigns a probabilistic ‘affinity’ for a particular
emotion to arbitrary words apart from picking up
emotional keywords.
 These probabilities are often part of linguistic
corpora.
 Disadvantages : Assigned probabilities are biased
toward corpus-specific genre of texts.
Example
 The word ‘accident’, having been assigned a high
probability of indicating a negative emotion,
would not contribute correctly to the emotional
assessment of phrases like “I avoided an
accident” or “I met my girlfriend by accident”.
3. Learning based methods
 Classify the input texts into different emotions
 Learning-based methods try to detect emotions
based on a previously trained classifier, which
apply various theories of machine learning to
determine which emotion category should the
input text belongs.
4. Hybrid Methods
 Combination of both keyword spotting technique
and learning based method
 Improve accuracy
Limitations of above methods
 Ambiguity in keyword definition
 Incapability of recognizing sentences without
keywords
 Lack of Linguistic Information
 Difficulties in determining emotion indicators
1. Ambiguity in Keyword
Definitions
 Using emotion keywords is a straightforward way
to detect associated emotions, the meanings of
keywords could be multiple and vague, as most
words could change their meanings according to
different usages and contexts.
2. Incapability of Recognizing
Sentences without Keywords
 Keyword-based approach is totally based on the
set of emotion keywords.
 Therefore, sentences without any keyword would
imply that they do not contain any emotion at
all, which is obviously wrong.
 For example, “I passed my qualify exam today”
and “Hooray! I passed my qualify exam today”
should imply the same emotion (joy), but the
former without “hooray” could remain
undetected if “hooray” is the only keyword to
detect this emotion.
3. Lack of Linguistic
Information
 Syntax structures and semantics also have
influences on expressed emotions.
 For example, “I laughed at him” and “He laughed
at me” would suggest different emotions from
the first person’s perspective.
 As a result, ignoring linguistic information also
poses a problem to keyword-based methods.
Architecture
Input text Output textEmotion
Detector
Emotion
Word
Ontology
Emotion Class
Example: Social Network
Communication
 This research examines the extent to which
emotion is present in MySpace comments, using a
combination of data mining and content analysis,
and exploring age and gender.
 Sample: 819 comments to and from USA users.
 Classification: Positive and Negative Emotions.
Step 1: Data set
 Comments from and to active, normal, long-term
US Members.
 Members having public profile- Normal
 Comments filtered for standard picture
comments , spam, chain messages using regular
expressions.
 Resulting comments formed the raw data.
Step 2: Classification
 Positive & Negative comments.
 Example: “I Miss You” can be interpreted as
positive emotion & is almost synonym of “I Love
You” , even though it suggested sadness.
 Classification deals only with text of individual
comment rather than emotional state of
commenter.
 Reasons for choosing particular comment is not
considered.
Results
 Females send and receive significantly more
positive emotions than men.
 Negative emotion is much rarer than positive
emotions.
 Limitation: We are considering only public
comments, so the situation for the private
messages may be different from above.
Emotion mining in text

More Related Content

ODP
Emotion detection from text using data mining and text mining
PPTX
Emotion Detection in text
PDF
Emotion Speech Recognition - Convolutional Neural Network Capstone Project
PPTX
Emotion recognition using image processing in deep learning
PPTX
detect emotion from text
PPTX
Emotion recognition
PDF
Sentiment Analysis
PDF
Deep Learning For Speech Recognition
Emotion detection from text using data mining and text mining
Emotion Detection in text
Emotion Speech Recognition - Convolutional Neural Network Capstone Project
Emotion recognition using image processing in deep learning
detect emotion from text
Emotion recognition
Sentiment Analysis
Deep Learning For Speech Recognition

What's hot (20)

PDF
Text classification & sentiment analysis
PDF
Emotion Recognition Based On Audio Speech
PDF
Emotion Detection from Text
PDF
Sentiment Analysis Using Hybrid Structure of Machine Learning Algorithms
PDF
Sentiment Analysis of Twitter Data
PDF
Human Emotion Recognition using Machine Learning
PPTX
Sentiment analysis
PPTX
Approaches to Sentiment Analysis
PPTX
Twitter sentiment analysis ppt
PPT
Speech Recognition
PDF
Emotion detection using cnn.pptx
PPT
How Sentiment Analysis works
PDF
Sentiment analysis - Our approach and use cases
PDF
Speech emotion recognition
PPTX
Presentation on Sentiment Analysis
PDF
Text summarization
PPTX
Facial Emotion Recognition: A Deep Learning approach
PPTX
Natural language processing
PPT
Authentication Application in Network Security NS4
PPTX
NLP PPT.pptx
Text classification & sentiment analysis
Emotion Recognition Based On Audio Speech
Emotion Detection from Text
Sentiment Analysis Using Hybrid Structure of Machine Learning Algorithms
Sentiment Analysis of Twitter Data
Human Emotion Recognition using Machine Learning
Sentiment analysis
Approaches to Sentiment Analysis
Twitter sentiment analysis ppt
Speech Recognition
Emotion detection using cnn.pptx
How Sentiment Analysis works
Sentiment analysis - Our approach and use cases
Speech emotion recognition
Presentation on Sentiment Analysis
Text summarization
Facial Emotion Recognition: A Deep Learning approach
Natural language processing
Authentication Application in Network Security NS4
NLP PPT.pptx
Ad

Similar to Emotion mining in text (20)

PDF
EMOTION DETECTION FROM TEXT
PDF
Emotion detection from text documents
PDF
3-540-45453-5_71.pdf
PDF
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
PPTX
Emotion Detection
PPT
Emotional intelligence Models
PDF
Drive Reduction Theory
PPTX
An Analytical Exploration of Decoding Emotions in Text through NLP
PDF
Essay On Emotional Intelligence In Leadership
DOCX
Motivational TheoriesMemory Acquisition Overview Write a 2-part.docx
PPTX
Emotional Intelligence
DOCX
Eq v2
PPTX
Presentation on emotional intelligence
PDF
David papini escape emotional intelligence traps
PPTX
Meta model
PPT
EQ for everyone
PPT
Promote Education Emtional Intelligence
PPTX
Emotional intelligence theory
PPT
Sph 106 Ch 2
PDF
Emotional communication1
EMOTION DETECTION FROM TEXT
Emotion detection from text documents
3-540-45453-5_71.pdf
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
Emotion Detection
Emotional intelligence Models
Drive Reduction Theory
An Analytical Exploration of Decoding Emotions in Text through NLP
Essay On Emotional Intelligence In Leadership
Motivational TheoriesMemory Acquisition Overview Write a 2-part.docx
Emotional Intelligence
Eq v2
Presentation on emotional intelligence
David papini escape emotional intelligence traps
Meta model
EQ for everyone
Promote Education Emtional Intelligence
Emotional intelligence theory
Sph 106 Ch 2
Emotional communication1
Ad

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Tartificialntelligence_presentation.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
Teaching material agriculture food technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Approach and Philosophy of On baking technology
Encapsulation_ Review paper, used for researhc scholars
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
A comparative study of natural language inference in Swahili using monolingua...
NewMind AI Weekly Chronicles - August'25-Week II
Per capita expenditure prediction using model stacking based on satellite ima...
Group 1 Presentation -Planning and Decision Making .pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Tartificialntelligence_presentation.pptx
A Presentation on Artificial Intelligence
Advanced methodologies resolving dimensionality complications for autism neur...
Network Security Unit 5.pdf for BCA BBA.
TLE Review Electricity (Electricity).pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Teaching material agriculture food technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Unlocking AI with Model Context Protocol (MCP)
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology

Emotion mining in text

  • 1. EMOTION MINING IN TEXT LOVEPREET SINGH SLIET Longowal
  • 2. Definition of Text Mining  Text Mining is a subset of Unstructured Data Management.  An exploration and analysis of textual data by automatic and semi automatic means to discover new knowledge.
  • 3. Definition of Emotion  A strong feeling deriving from one's circumstances, mood, or relationships with others.  In psychology, emotion is often defined as a complex state of feeling that results in physical and psychological changes that influence thought and behavior.  Synonyms: feeling, sentiment, sensation
  • 4. Elements 1.Thoughts: Ideas or images that pop into your head when you are experiencing an emotion. 2.Your Body's Response: The physical changes you experience (for example, increased heart rate, feeling queasy) when you experience an emotion. 3.Behaviours: The things you want or feel an urge to do when you experience a certain emotion.
  • 5. Emotions from Text  The purpose is not to identify specific emotions but rather to find the emotional state or mind set of a writer while writing the text.
  • 6. Theories of Emotion The major theories of emotion can be grouped into three main categories:  Physiological  Neurological  Cognitive
  • 7. Theories of Emotion Physiological theories suggest that responses within the body are responsible for emotions. Neurological theories propose that activity within the brain leads to emotional responses. Cognitive theories argue that thoughts and other mental activity play an essential role in the formation of emotions.
  • 9. Positive & Negative Emotions Positive: any emotion that makes us feel good eg. appreciation, joy, love, passion, freedom, excitement. Negative: emotions stop us from thinking and behaving rationally and seeing situations in their true perspective eg. Jealousy, anger, fear, guilt, shame, frustration, sadness.
  • 10. Example: Emotion by viewing an object
  • 11. Factors on which Emotion depends  Gender  Situation  Age
  • 12. Techniques for Emotion Detection  Keyword Spotting Technique  Lexical Affinity Method  Learning Based Methods  Hybrid Methods
  • 13. 1. Keyword Spotting Technique Text Tokenization Identify Emotions Word Analysis of Intensity Negation Check Emotion
  • 14. 2. Lexical Affinity Method  Extension of keyword spotting technique.  It assigns a probabilistic ‘affinity’ for a particular emotion to arbitrary words apart from picking up emotional keywords.  These probabilities are often part of linguistic corpora.  Disadvantages : Assigned probabilities are biased toward corpus-specific genre of texts.
  • 15. Example  The word ‘accident’, having been assigned a high probability of indicating a negative emotion, would not contribute correctly to the emotional assessment of phrases like “I avoided an accident” or “I met my girlfriend by accident”.
  • 16. 3. Learning based methods  Classify the input texts into different emotions  Learning-based methods try to detect emotions based on a previously trained classifier, which apply various theories of machine learning to determine which emotion category should the input text belongs.
  • 17. 4. Hybrid Methods  Combination of both keyword spotting technique and learning based method  Improve accuracy
  • 18. Limitations of above methods  Ambiguity in keyword definition  Incapability of recognizing sentences without keywords  Lack of Linguistic Information  Difficulties in determining emotion indicators
  • 19. 1. Ambiguity in Keyword Definitions  Using emotion keywords is a straightforward way to detect associated emotions, the meanings of keywords could be multiple and vague, as most words could change their meanings according to different usages and contexts.
  • 20. 2. Incapability of Recognizing Sentences without Keywords  Keyword-based approach is totally based on the set of emotion keywords.  Therefore, sentences without any keyword would imply that they do not contain any emotion at all, which is obviously wrong.  For example, “I passed my qualify exam today” and “Hooray! I passed my qualify exam today” should imply the same emotion (joy), but the former without “hooray” could remain undetected if “hooray” is the only keyword to detect this emotion.
  • 21. 3. Lack of Linguistic Information  Syntax structures and semantics also have influences on expressed emotions.  For example, “I laughed at him” and “He laughed at me” would suggest different emotions from the first person’s perspective.  As a result, ignoring linguistic information also poses a problem to keyword-based methods.
  • 22. Architecture Input text Output textEmotion Detector Emotion Word Ontology Emotion Class
  • 23. Example: Social Network Communication  This research examines the extent to which emotion is present in MySpace comments, using a combination of data mining and content analysis, and exploring age and gender.  Sample: 819 comments to and from USA users.  Classification: Positive and Negative Emotions.
  • 24. Step 1: Data set  Comments from and to active, normal, long-term US Members.  Members having public profile- Normal  Comments filtered for standard picture comments , spam, chain messages using regular expressions.  Resulting comments formed the raw data.
  • 25. Step 2: Classification  Positive & Negative comments.  Example: “I Miss You” can be interpreted as positive emotion & is almost synonym of “I Love You” , even though it suggested sadness.  Classification deals only with text of individual comment rather than emotional state of commenter.  Reasons for choosing particular comment is not considered.
  • 26. Results  Females send and receive significantly more positive emotions than men.  Negative emotion is much rarer than positive emotions.  Limitation: We are considering only public comments, so the situation for the private messages may be different from above.