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

Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processingrohitnayak
 
System Analysis & Design Presentation.pdf
System Analysis & Design Presentation.pdfSystem Analysis & Design Presentation.pdf
System Analysis & Design Presentation.pdfAriful Islam
 
Introduction to emotion detection
Introduction to emotion detectionIntroduction to emotion detection
Introduction to emotion detectionTyler Schnoebelen
 
Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4DigiGurukul
 
Amazon Product Sentiment review
Amazon Product Sentiment reviewAmazon Product Sentiment review
Amazon Product Sentiment reviewLalit Jain
 
Presentation on Sentiment Analysis
Presentation on Sentiment AnalysisPresentation on Sentiment Analysis
Presentation on Sentiment AnalysisRebecca Williams
 
Sentiment Analysis Using Machine Learning
Sentiment Analysis Using Machine LearningSentiment Analysis Using Machine Learning
Sentiment Analysis Using Machine LearningNihar Suryawanshi
 
Text classification & sentiment analysis
Text classification & sentiment analysisText classification & sentiment analysis
Text classification & sentiment analysisM. Atif Qureshi
 
Sentiment Analysis
Sentiment AnalysisSentiment Analysis
Sentiment AnalysisAditya Nag
 
Natural Language Processing in AI
Natural Language Processing in AINatural Language Processing in AI
Natural Language Processing in AISaurav Shrestha
 
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
 
Sentiment analysis - Our approach and use cases
Sentiment analysis - Our approach and use casesSentiment analysis - Our approach and use cases
Sentiment analysis - Our approach and use casesKarol Chlasta
 
Opinion Mining
Opinion MiningOpinion Mining
Opinion MiningAli Habeeb
 
Emotion recognition using image processing in deep learning
Emotion recognition using image     processing in deep learningEmotion recognition using image     processing in deep learning
Emotion recognition using image processing in deep learningvishnuv43
 
Speech emotion recognition
Speech emotion recognitionSpeech emotion recognition
Speech emotion recognitionsaniya shaikh
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)EdutechLearners
 
Human Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine LearningHuman Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine Learningijtsrd
 
Natural language processing (nlp)
Natural language processing (nlp)Natural language processing (nlp)
Natural language processing (nlp)Kuppusamy P
 

What's hot (20)

Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
 
System Analysis & Design Presentation.pdf
System Analysis & Design Presentation.pdfSystem Analysis & Design Presentation.pdf
System Analysis & Design Presentation.pdf
 
Introduction to emotion detection
Introduction to emotion detectionIntroduction to emotion detection
Introduction to emotion detection
 
Ml ppt
Ml pptMl ppt
Ml ppt
 
Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4
 
Human Emotion Recognition
Human Emotion RecognitionHuman Emotion Recognition
Human Emotion Recognition
 
Amazon Product Sentiment review
Amazon Product Sentiment reviewAmazon Product Sentiment review
Amazon Product Sentiment review
 
Presentation on Sentiment Analysis
Presentation on Sentiment AnalysisPresentation on Sentiment Analysis
Presentation on Sentiment Analysis
 
Sentiment Analysis Using Machine Learning
Sentiment Analysis Using Machine LearningSentiment Analysis Using Machine Learning
Sentiment Analysis Using Machine Learning
 
Text classification & sentiment analysis
Text classification & sentiment analysisText classification & sentiment analysis
Text classification & sentiment analysis
 
Sentiment Analysis
Sentiment AnalysisSentiment Analysis
Sentiment Analysis
 
Natural Language Processing in AI
Natural Language Processing in AINatural Language Processing in AI
Natural Language Processing in AI
 
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
 
Sentiment analysis - Our approach and use cases
Sentiment analysis - Our approach and use casesSentiment analysis - Our approach and use cases
Sentiment analysis - Our approach and use cases
 
Opinion Mining
Opinion MiningOpinion Mining
Opinion Mining
 
Emotion recognition using image processing in deep learning
Emotion recognition using image     processing in deep learningEmotion recognition using image     processing in deep learning
Emotion recognition using image processing in deep learning
 
Speech emotion recognition
Speech emotion recognitionSpeech emotion recognition
Speech emotion recognition
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
 
Human Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine LearningHuman Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine Learning
 
Natural language processing (nlp)
Natural language processing (nlp)Natural language processing (nlp)
Natural language processing (nlp)
 

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

Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 

Recently uploaded (20)

Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

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.