Skip to main content

Pattern-Based Emotion Classification on Social Media

  • Chapter
  • First Online:
Advances in Social Media Analysis

Part of the book series: Studies in Computational Intelligence ((SCI,volume 602))

Abstract

Sentiment analysis can go beyond the typical granularity of polarity that assumes each text to be positive, negative or neural. Indeed, human emotions are much more diverse, and it is interesting to study how to define a more complete set of emotions and how to deduce these emotions from human-written messages. In this book chapter we argue that using Plutchik’s wheel of emotions model and a rule-based approach for emotion detection in text makes it a good framework for emotion classification on social media. We provide a detailed description of how to define rule-based patterns for Plutchik’s wheel emotion detection, how to learn them from the annotated social media and how to apply them for classifying emotions in the previously unseen texts. The results of the experimental study suggest that the described framework is promising and that it advances the current state-of-the-art in emotion detection.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The Association for the Advancement of Affective Computing—http://emotion-research.net/.

  2. 2.

    Note that the examples only list words but a pattern can consist of any combination of words and POS-tags. This concept is further explained when we describe how to learn a model.

  3. 3.

    See http://www.experienceproject.com.

  4. 4.

    The labels are Sorry, Hugs, You Rock, Teehee, I Understand and Wow, Just Wow.

  5. 5.

    Can be found at https://github.com/sancha/jrae.

  6. 6.

    http://lrc.cornell.edu/swedish/dataset/affectdata/.

  7. 7.

    http://www.win.tue.nl/~mpechen/projects/smm/.

References

  1. Alm, E.: Affect in text and speech. Ph.D. thesis (2008)

    Google Scholar 

  2. Andreevskaia, A., Bergler, S.: Clac and clac-nb: Knowledge-based and corpus-based approaches to sentiment tagging. In: Proceedings of the 4th International Workshop on Semantic Evaluations, SemEval ’07, pp. 117–120, Stroudsburg, PA, USA, Association for Computational Linguistics (2007)

    Google Scholar 

  3. Bespalov, D., Qi, Y., Bai, B., Shokoufandeh, A.: Sentiment classification with supervised sequence encoder. In: Proceedings of European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases (ECML-PKDD), vol. LNCS 7523, pp. 159–174. Springer (2012)

    Google Scholar 

  4. Brill, E.: A simple rule-based part of speech tagger. In: Proceedings of the Third Conference on Applied natural language processing (ANCL’92), pp. 152–155. Association for Computational Linguistics (1992)

    Google Scholar 

  5. Cambria, E., Havasi, C., Hussain, A.: Senticnet 2: a semantic and affective resource for opinion mining and sentiment analysis. In: Proceedings of the Twenty-Fifth International Florida Artificial Intelligence Research Society Conference. AAAI Press (2012)

    Google Scholar 

  6. Cambria, E., Hussain, A.: Sentic Computing: Techniques, Tools, and Applications. Springer, Heidelberg (2012)

    Book  Google Scholar 

  7. Cambria, E., Olsher, D., Kwok, K.: Sentic activation: a two-level affective common sense reasoning framework. In: Proceedings of AAAI, pp. 186–192 (2012)

    Google Scholar 

  8. Cambria, E., Schuller, B., Xia, Y., Havasi, C.: New avenues in opinion mining and sentiment analysis. IEEE Intell. Syst. 28(2), 15–21 (2013)

    Article  Google Scholar 

  9. Coussement, K., Van den Poel, D.: Improving customer attrition prediction by integrating emotions from client/company interaction emails and evaluating multiple classifiers. Expert Syst. Appl. 36(3), 6127–6134 (2009)

    Article  Google Scholar 

  10. Ekman, P.: The argument and evidence about universals in facial expressions of emotion. In: Wagner, H., Manstead, A. (eds.) Handbook of Social Psychophysiology, Wiley Handbooks of Psychophysiology, pp. 143–164. Wiley, Chichester (1989)

    Google Scholar 

  11. Glorot, X., Bordes, A., Bengio, Y.: Domain adaptation for large-scale sentiment classification: a deep learning approach. In: Proceedings of the 28th International Conference on Machine Learning, ICML 2011, pp. 513–520 (2011)

    Google Scholar 

  12. Hatzivassiloglou, V., McKeown, K.: Predicting the semantic orientation of adjectives. In: Proceedings of the ACL, pp. 174–181 (1997)

    Google Scholar 

  13. Kumar, S., Morstatter, F., Liu, H.: Twitter Data Analytics. Springer, New York (2014)

    Google Scholar 

  14. Mohammad, S.: #emotional tweets. In: *SEM 2012: The First Joint Conference on Lexical and Computational Semantics—Volume 1: Proceedings of the main conference and the shared task, and Volume 2: Proceedings of the Sixth International Workshop on Semantic Evaluation (SemEval 2012), pp. 246–255, Montréal, Canada, 7–8 June 2012. Association for Computational Linguistics

    Google Scholar 

  15. Mohammad, S., Kiritchenko, S.: Using nuances of emotion to identify personality. In: Proceedings of the International Conference on Weblogs and Social Media (ICWSM-13), Boston, MA (2013)

    Google Scholar 

  16. Paltoglou, G., Thelwall, M.: Twitter, myspace, digg: unsupervised sentiment analysis in social media, vol. 3, pp. 66:1–66:19, ACM, New York, NY, USA (2012)

    Google Scholar 

  17. Pang, B., Lee, L.: A sentimental education: sentiment analysis using subjectivity summarization based on minimum cuts. In: Proceedings of the ACL, pp. 271–278 (2004)

    Google Scholar 

  18. Pang, B., Lee, L.: Opinion mining and sentiment analysis. In: Foundations and Trends in Information Retrieval (2008)

    Google Scholar 

  19. Pang, B., Lee, L., Vaithyanathan, S.: Thumbs up? sentiment classification using machine learning techniques. In: Proceedings of Conference on Empirical methods in natural language processing (EMNLP’02), pp. 79–86. Association for Computational Linguistics (2002)

    Google Scholar 

  20. Parrott, W.: Emotions in Social Psychology. Psychology Press, Philadelphia (2001)

    Google Scholar 

  21. Plutchik, R.: A general psychoevolutionary theory of emotion, pp. 3–33. Academic press, New York (1980)

    Google Scholar 

  22. Potena, D., Diamantini, C.: Mining opinions on the basis of their affectivity. In: 2010 International Symposium on Collaborative Technologies and Systems (CTS), pp. 245–254 (2010)

    Google Scholar 

  23. Remus, R., Hänig, C.: Towards Well-grounded Phrase-level Polarity Analysis, pp. 380–392. Springer, New York (2011)

    Google Scholar 

  24. Riloff, E., Wiebe, J., Wilson, T.: Learning subjective nouns using extraction pattern bootstrapping. In: Proceedings of the 7th Conference on Natural Language Learning, pp. 25–32 (2003)

    Google Scholar 

  25. Schroder, M., Baggia, P., Burkhardt, F., Pelachaud, C., Peter, C., Zovato, E.: Emotional—an upcoming standard for representing emotions and related states. In: Proceedings of the 4th International Conference on Affective Computing and Intelligent Interaction—Volume Part I, ACII’11, pp. 316–325, Springer, Heidelberg (2011)

    Google Scholar 

  26. Sindhwani, V., Melville, P.: Document-word co-regularization for semi-supervised sentiment analysis. In: Eighth IEEE International Conference on Data Mining (ICDM’08), pp. 1025–1030 (2008)

    Google Scholar 

  27. Socher, R., Pennington, J., Huang, E., Ng, A., Manning, C.: Semi-supervised recursive autoencoders for predicting sentiment distributions. In: Proceedings of the Conference on Empirical Methods in Natural Language Processing, EMNLP’11, pp. 151–161, Stroudsburg, PA, USA (2011), Association for Computational Linguistics

    Google Scholar 

  28. Socher, R., Perelygin, A., Wu, J.Y., Chuang, J., Manning, C.D., Ng, A.Y., Potts, C.: Recursive deep models for semantic compositionality over a sentiment treebank (2013)

    Google Scholar 

  29. Tromp, E., Pechenizkiy, M.: Graph-based n-gram language identification on short texts. In: Proceedings of the Twentieth Belgian Dutch Conference on Machine Learning (Benelearn 2011), pp. 27–34 (2011)

    Google Scholar 

  30. Tromp, E., Pechenizkiy, M.: RBEM: a rule based approach to polarity detection. In: Proceedings of the Second International Workshop on Issues of Sentiment Discovery and Opinion Mining, WISDOM 2013 (2013)

    Google Scholar 

  31. Tromp, E., Pechenizkiy, M.: Rule-based emotion detection on social media: putting tweets on plutchik’s wheel. CoRR, abs/1412.4682 (2014)

    Google Scholar 

  32. Wilson, T., Wiebe, J., Hoffmann, P.: Recognizing contextual polarity in phrase-level sentiment analysis. In: HLT ’05: Proceedings of the conference on Human Language Technology and Empirical Methods in Natural Language Processing, pp. 347–354 (2005)

    Google Scholar 

  33. Yu, H., Ho, C., Juan, Y., Lin, C.: Libshorttext: A library for short-text classification and analysis (2013)

    Google Scholar 

Download references

Acknowledgments

This research is partly supported by Data Science Center (DSC/e) of TU Eindhoven.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Erik Tromp .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Tromp, E., Pechenizkiy, M. (2015). Pattern-Based Emotion Classification on Social Media. In: Gaber, M., Cocea, M., Wiratunga, N., Goker, A. (eds) Advances in Social Media Analysis. Studies in Computational Intelligence, vol 602. Springer, Cham. https://doi.org/10.1007/978-3-319-18458-6_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-18458-6_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-18457-9

  • Online ISBN: 978-3-319-18458-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics