SlideShare a Scribd company logo
1 of 27
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.
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

What's hot

Opinion Mining
Opinion MiningOpinion Mining
Opinion MiningAli Habeeb
 
Social Media Sentiments Analysis
Social Media Sentiments AnalysisSocial Media Sentiments Analysis
Social Media Sentiments AnalysisPratisthaSingh5
 
Machine Learning Project - Email Spam Filtering using Enron Dataset
Machine Learning Project - Email Spam Filtering using Enron DatasetMachine Learning Project - Email Spam Filtering using Enron Dataset
Machine Learning Project - Email Spam Filtering using Enron DatasetAman Singhla
 
Sentiment analysis using naive bayes classifier
Sentiment analysis using naive bayes classifier Sentiment analysis using naive bayes classifier
Sentiment analysis using naive bayes classifier Dev Sahu
 
Sentiment analysis
Sentiment analysisSentiment analysis
Sentiment analysisAmenda Joy
 
Sentiment analysis presentation
Sentiment analysis presentationSentiment analysis presentation
Sentiment analysis presentationGunjanSrivastava23
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingToine Bogers
 
Spell checker using Natural language processing
Spell checker using Natural language processing Spell checker using Natural language processing
Spell checker using Natural language processing Sandeep Wakchaure
 
Amazon sentimental analysis
Amazon sentimental analysisAmazon sentimental analysis
Amazon sentimental analysisAkhila
 
Text classification & sentiment analysis
Text classification & sentiment analysisText classification & sentiment analysis
Text classification & sentiment analysisM. Atif Qureshi
 
Facial Expression Recognition via Python
Facial Expression Recognition via PythonFacial Expression Recognition via Python
Facial Expression Recognition via PythonSaurav Gupta
 
Spam email detection using machine learning PPT.pptx
Spam email detection using machine learning PPT.pptxSpam email detection using machine learning PPT.pptx
Spam email detection using machine learning PPT.pptxKunal Kalamkar
 
Practical sentiment analysis
Practical sentiment analysisPractical sentiment analysis
Practical sentiment analysisDiana Maynard
 
New sentiment analysis of tweets using python by Ravi kumar
New sentiment analysis of tweets using python by Ravi kumarNew sentiment analysis of tweets using python by Ravi kumar
New sentiment analysis of tweets using python by Ravi kumarRavi Kumar
 
Connectionist Temporal Classification
Connectionist Temporal ClassificationConnectionist Temporal Classification
Connectionist Temporal ClassificationJulius Hietala
 
Natural lanaguage processing
Natural lanaguage processingNatural lanaguage processing
Natural lanaguage processinggulshan kumar
 
Detection of cyber-bullying
Detection of cyber-bullying Detection of cyber-bullying
Detection of cyber-bullying Ziar Khan
 
LSTM Based Sentiment Analysis
LSTM Based Sentiment AnalysisLSTM Based Sentiment Analysis
LSTM Based Sentiment Analysisijtsrd
 

What's hot (20)

Opinion Mining
Opinion MiningOpinion Mining
Opinion Mining
 
Social Media Sentiments Analysis
Social Media Sentiments AnalysisSocial Media Sentiments Analysis
Social Media Sentiments Analysis
 
Machine Learning Project - Email Spam Filtering using Enron Dataset
Machine Learning Project - Email Spam Filtering using Enron DatasetMachine Learning Project - Email Spam Filtering using Enron Dataset
Machine Learning Project - Email Spam Filtering using Enron Dataset
 
Sentiment analysis using naive bayes classifier
Sentiment analysis using naive bayes classifier Sentiment analysis using naive bayes classifier
Sentiment analysis using naive bayes classifier
 
Sentiment analysis
Sentiment analysisSentiment analysis
Sentiment analysis
 
Sentiment analysis presentation
Sentiment analysis presentationSentiment analysis presentation
Sentiment analysis presentation
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Spell checker using Natural language processing
Spell checker using Natural language processing Spell checker using Natural language processing
Spell checker using Natural language processing
 
Spam Detection Using Natural Language processing
Spam Detection Using Natural Language processingSpam Detection Using Natural Language processing
Spam Detection Using Natural Language processing
 
Amazon sentimental analysis
Amazon sentimental analysisAmazon sentimental analysis
Amazon sentimental analysis
 
Text classification & sentiment analysis
Text classification & sentiment analysisText classification & sentiment analysis
Text classification & sentiment analysis
 
Facial Expression Recognition via Python
Facial Expression Recognition via PythonFacial Expression Recognition via Python
Facial Expression Recognition via Python
 
Spam email detection using machine learning PPT.pptx
Spam email detection using machine learning PPT.pptxSpam email detection using machine learning PPT.pptx
Spam email detection using machine learning PPT.pptx
 
Practical sentiment analysis
Practical sentiment analysisPractical sentiment analysis
Practical sentiment analysis
 
New sentiment analysis of tweets using python by Ravi kumar
New sentiment analysis of tweets using python by Ravi kumarNew sentiment analysis of tweets using python by Ravi kumar
New sentiment analysis of tweets using python by Ravi kumar
 
Connectionist Temporal Classification
Connectionist Temporal ClassificationConnectionist Temporal Classification
Connectionist Temporal Classification
 
Natural lanaguage processing
Natural lanaguage processingNatural lanaguage processing
Natural lanaguage processing
 
Detection of cyber-bullying
Detection of cyber-bullying Detection of cyber-bullying
Detection of cyber-bullying
 
LSTM Based Sentiment Analysis
LSTM Based Sentiment AnalysisLSTM Based Sentiment Analysis
LSTM Based Sentiment Analysis
 
Sms spam classification
Sms spam classificationSms spam classification
Sms spam classification
 

Similar to Emotion mining in text

EMOTION DETECTION FROM TEXT
EMOTION DETECTION FROM TEXTEMOTION DETECTION FROM TEXT
EMOTION DETECTION FROM TEXTcscpconf
 
Emotion detection from text documents
Emotion detection from text documentsEmotion detection from text documents
Emotion detection from text documentsIJDKP
 
3-540-45453-5_71.pdf
3-540-45453-5_71.pdf3-540-45453-5_71.pdf
3-540-45453-5_71.pdfJyoti863900
 
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWSRULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWSijaia
 
Emotional intelligence Models
Emotional intelligence ModelsEmotional intelligence Models
Emotional intelligence ModelsPreeti Bhaskar
 
Drive Reduction Theory
Drive Reduction TheoryDrive Reduction Theory
Drive Reduction TheoryKatie Gulley
 
Motivational TheoriesMemory Acquisition Overview Write a 2-part.docx
Motivational TheoriesMemory Acquisition Overview Write a 2-part.docxMotivational TheoriesMemory Acquisition Overview Write a 2-part.docx
Motivational TheoriesMemory Acquisition Overview Write a 2-part.docxjacmariek5
 
Emotional Intelligence
Emotional Intelligence Emotional Intelligence
Emotional Intelligence Sidra Akhtar
 
David papini escape emotional intelligence traps
David papini   escape emotional intelligence trapsDavid papini   escape emotional intelligence traps
David papini escape emotional intelligence trapsDavid Papini
 
Promote Education Emtional Intelligence
Promote Education Emtional IntelligencePromote Education Emtional Intelligence
Promote Education Emtional IntelligenceZoaib Mirza
 
Emotional intelligence theory
Emotional intelligence theoryEmotional intelligence theory
Emotional intelligence theoryEagle Eyes
 
Purpose To discuss our PowerPoint and.docx
Purpose To discuss our PowerPoint and.docxPurpose To discuss our PowerPoint and.docx
Purpose To discuss our PowerPoint and.docxbkbk37
 
Emotional communication1
Emotional communication1Emotional communication1
Emotional communication1bson1012
 

Similar to Emotion mining in text (20)

EMOTION DETECTION FROM TEXT
EMOTION DETECTION FROM TEXTEMOTION DETECTION FROM TEXT
EMOTION DETECTION FROM TEXT
 
Emotion detection from text documents
Emotion detection from text documentsEmotion detection from text documents
Emotion detection from text documents
 
3-540-45453-5_71.pdf
3-540-45453-5_71.pdf3-540-45453-5_71.pdf
3-540-45453-5_71.pdf
 
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWSRULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
RULE-BASED SENTIMENT ANALYSIS OF UKRAINIAN REVIEWS
 
Emotion Detection
Emotion DetectionEmotion Detection
Emotion Detection
 
Emotional intelligence Models
Emotional intelligence ModelsEmotional intelligence Models
Emotional intelligence Models
 
Drive Reduction Theory
Drive Reduction TheoryDrive Reduction Theory
Drive Reduction Theory
 
Essay On Emotional Intelligence In Leadership
Essay On Emotional Intelligence In LeadershipEssay On Emotional Intelligence In Leadership
Essay On Emotional Intelligence In Leadership
 
Motivational TheoriesMemory Acquisition Overview Write a 2-part.docx
Motivational TheoriesMemory Acquisition Overview Write a 2-part.docxMotivational TheoriesMemory Acquisition Overview Write a 2-part.docx
Motivational TheoriesMemory Acquisition Overview Write a 2-part.docx
 
Emotional Intelligence
Emotional Intelligence Emotional Intelligence
Emotional Intelligence
 
Eq v2
Eq v2Eq v2
Eq v2
 
Presentation on emotional intelligence
Presentation on emotional intelligencePresentation on emotional intelligence
Presentation on emotional intelligence
 
David papini escape emotional intelligence traps
David papini   escape emotional intelligence trapsDavid papini   escape emotional intelligence traps
David papini escape emotional intelligence traps
 
Meta model
Meta modelMeta model
Meta model
 
EQ for everyone
EQ for everyoneEQ for everyone
EQ for everyone
 
Promote Education Emtional Intelligence
Promote Education Emtional IntelligencePromote Education Emtional Intelligence
Promote Education Emtional Intelligence
 
Emotional intelligence theory
Emotional intelligence theoryEmotional intelligence theory
Emotional intelligence theory
 
Sph 106 Ch 2
Sph 106 Ch 2Sph 106 Ch 2
Sph 106 Ch 2
 
Purpose To discuss our PowerPoint and.docx
Purpose To discuss our PowerPoint and.docxPurpose To discuss our PowerPoint and.docx
Purpose To discuss our PowerPoint and.docx
 
Emotional communication1
Emotional communication1Emotional communication1
Emotional communication1
 

Recently uploaded

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

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.
  • 8.
  • 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.