Skip to main content
QUICK REVIEW

[Paper Review] Emotion Detection and Analysis on Social Media

Bharat Gaind, Varun Syal|arXiv (Cornell University)|Jan 24, 2019
Sentiment Analysis and Opinion MiningComputer Science12 references54 citations
TL;DR

This paper presents a hybrid approach to classify and quantify six emotions (Happiness, Sadness, Fear, Surprise, Anger, Disgust) in text from social media, using NLP-based features and machine learning classifiers, plus an automatically generated training set.

ABSTRACT

In this paper, we address the problem of detection, classification and quantification of emotions of text in any form. We consider English text collected from social media like Twitter, which can provide information having utility in a variety of ways, especially opinion mining. Social media like Twitter and Facebook is full of emotions, feelings and opinions of people all over the world. However, analyzing and classifying text on the basis of emotions is a big challenge and can be considered as an advanced form of Sentiment Analysis. This paper proposes a method to classify text into six different Emotion-Categories: Happiness, Sadness, Fear, Anger, Surprise and Disgust. In our model, we use two different approaches and combine them to effectively extract these emotions from text. The first approach is based on Natural Language Processing, and uses several textual features like emoticons, degree words and negations, Parts Of Speech and other grammatical analysis. The second approach is based on Machine Learning classification algorithms. We have also successfully devised a method to automate the creation of the training-set itself, so as to eliminate the need of manual annotation of large datasets. Moreover, we have managed to create a large bag of emotional words, along with their emotion-intensities. On testing, it is shown that our model provides significant accuracy in classifying tweets taken from Twitter.

Motivation & Objective

  • Develop a system to classify text into six Emotion-Categories with intensity scores.
  • Automatically generate a labeled training dataset without manual annotation.
  • Create a large bag of emotion-specific words with intensity labels.
  • Combine NLP feature extraction with ML classifiers to improve emotion detection accuracy.
  • Introduce a Surety Factor to gauge reliability of emotion predictions.

Proposed method

  • Use NLP with Emotion-Words Set (EWS), Degree-Words Set, and Emoticon detection to score emotions in text.
  • Compute per-hit emotScore and perScore for six emotion categories and aggregate into a six-dimensional Score vector.
  • Leverage Stanford CoreNLP for tokenization, POS tagging, lemmatization, NER, and dependency parsing.
  • Automatically generate training data by seeding tweet collection with emotion words and filtering for single-emotion tweets (≥70% for one category).
  • Train SMO and J48 classifiers on preprocessed features to predict emotion categories from text.
  • Combine first-approach scores with classifier output via a FinalScore adjustment rule to select the final emotion category.

Experimental results

Research questions

  • RQ1Can six predefined Emotion-Categories be reliably detected and quantified in social media text beyond simple positive/negative sentiment?
  • RQ2How effective is a hybrid approach (NLP-based scoring plus ML classification) compared to either method alone?
  • RQ3Can an automatically generated training set yield high-accuracy emotion classifiers for tweets?
  • RQ4What is the contribution of Negation, Degree-words, and emoticons to emotion scoring and classification?
  • RQ5How reliable is the system, and can a Surety Factor quantify output confidence?

Key findings

  • The hybrid approach achieves high accuracy on testing data (SMO 91.7%; J48 85.4%).
  • An automatically generated training set of 8528 labeled tweets supports supervised learning without manual annotation.
  • The Emotion-Words Set (EWS) of about 1500 words, plus Degree-Words and emoticons, enables scoring of six emotions with intensity levels.
  • Negation flips some emotion categories and reduces scores for others, affecting final emotion determination.
  • The Surety Factor provides a confidence measure based on classifier agreement, score topology, and hit counts.
  • Results include visualization demonstrations like time-series mood plots, location-based emotion maps, and document-level emotion distributions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.