Skip to main content

Emotion Detection on Twitter Textual Data

  • Conference paper
  • First Online:
Big Data Analyses, Services, and Smart Data (BIGDAS 2018)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 899))

Included in the following conference series:

  • 737 Accesses

Abstract

Textual data is one of the most important types of data nowadays. With the use of social media like Twitter and Facebook, the amount of textual data is growing at an unimaginable speed. To fully use these data, it is very important to extract useful information from it as much as possible. While some information can be directly extracted from the text, other information needs to be discovered with an advanced method. For instance, the feelings of authors while the text was written, or the emotions that authors wanted to express. This leads to the use of sentiment analysis. Recently, sentiment analysis has drawn attention from many researchers. With the growth of online resources of textual data, the ability to detect different emotions from textual data is becoming very useful. In this paper, we present an application that can detect four distinct emotions from Twitter posts. They are joy, anger, fear, and sadness. The evaluation result shows the accuracy and applicability of our application.

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 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 279.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

References

  1. Bo, P., Lillian, L.: Seeing stars: exploiting class relationships for sentiment categorization with respect to rating scales. In: The 43rd Annual Meeting of the Association for Computational Linguistics, pp. 115–124. Association for Computational Linguistics, Ann Arbor (2005)

    Google Scholar 

  2. Cortes, C., Vapnik, V.: Support-vector networks. Mach. Learn. 20(3), 273–297 (1995)

    MATH  Google Scholar 

  3. Da Silva, N., Hruschka, E., Hruschka Jr., E.: Tweet sentiment analysis with classifier ensembles. Decis. Support Syst. 66, 170–179 (2014)

    Article  Google Scholar 

  4. Hassan, S., Yulan, H., Miriam, F., Harith, A.: Contextual semantics for sentiment analysis of Twitter. Inf. Process. Manag. 52(1), 5–19 (2016)

    Article  Google Scholar 

  5. Huq, R., Ali, A., Rahman, A.: Sentiment analysis on Twitter data using KNN and SVM. Int. J. Adv. Comput. Sci. Appl. 8(6), 19–25 (2017)

    Google Scholar 

  6. Ingo, F., Kurt, H.: wordnet: WordNet interface. R package version 0.1-14. https://CRAN.R-project.org/package=wordnet. Accessed May 2020

  7. Loper, E., Bird, S.: NLTK: the natural language toolkit. In: The ACL Interactive Poster and Demonstration Sessions, pp. 214–217. Association for Computational Linguistics, Barcelona (2004)

    Google Scholar 

  8. Milgram, J., Cheriet, M., Sabourin, R.: “One against one” or “one against all”: which one is better for handwriting recognition with SVMs? In: 10th International Workshop on Frontiers in Handwriting Recognition. Suvisoft, La Baule (2006)

    Google Scholar 

  9. Mohammad, S., Kiritchenko, S.: Understanding emotions: a dataset of tweets to study interactions between affect categories. In: The 11th International Conference on Language Resources and Evaluation. ELRA, Miyazaki (2018)

    Google Scholar 

  10. Oscar, A., Ignacio, C., Sánchez-Rada, J.F., Carlos, I.: Enhancing deep learning sentiment analysis with ensemble techniques in social applications. Expert Syst. Appl. 77, 236–246 (2017)

    Article  Google Scholar 

  11. Pak, A., Paroubek, P.: Twitter as a corpus for sentiment analysis and opinion mining. In: The 7th International Conference on Language Resources and Evaluation, pp. 1320–1326. ELRA, Valletta (2010)

    Google Scholar 

  12. Pang, B., Lee, L., Vaithyanathan, S.: Thumbs up?: sentiment classification using machine learning techniques. In: The ACL-2002 Conference on Empirical Methods in Natural Language Processing, vol. 10, pp. 79–86. Association for Computational Linguistics, Philadelphia (2002)

    Google Scholar 

  13. Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., Duchesnay, E.: Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011)

    MathSciNet  MATH  Google Scholar 

  14. Peter, D.-T.: Thumbs up or thumbs down? Semantic orientation applied to unsupervised classification of reviews (2002)

    Google Scholar 

  15. Rennie, J., Shih, L., Teevan, J., Karger, D.: Tackling the poor assumptions of naive Bayes text classifiers. In: 20th International Conference on Machine Learning, pp. 616–623. AAAI Press, Washington, DC (2003)

    Google Scholar 

  16. Schütze, H., Manning, C.-D., Raghavan, P.: Introduction to Information Retrieval. Cambridge University Press, Cambridge (2008)

    MATH  Google Scholar 

  17. Silva, C., Ribeiro, B.: The importance of stop word removal on recall values in text categorization. In: The International Joint Conference on Neural Networks, vol. 3, pp. 1661–1666. IEEE, Portland (2003)

    Google Scholar 

  18. Wiebe, J., Wilson, T., Cardie, C.: Annotating expressions of opinions and emotions in language. Lang. Resour. Eval. 39(2–3), 165–210 (2005)

    Article  Google Scholar 

  19. Zhang, L., Wang, S., Liu, B.: Deep learning for sentiment analysis: a survey. WIREs Data Min. Knowl. Discov. 8(4), e1253 (2018)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fan Jiang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Jiang, F., Aarts, C. (2021). Emotion Detection on Twitter Textual Data. In: Lee, W., Leung, C.K., Nasridinov, A. (eds) Big Data Analyses, Services, and Smart Data. BIGDAS 2018. Advances in Intelligent Systems and Computing, vol 899. Springer, Singapore. https://doi.org/10.1007/978-981-15-8731-3_5

Download citation

Publish with us

Policies and ethics