Skip to main content

Emotional Level Classification and Prediction of Tweets in Twitter

  • Chapter
  • First Online:
Emotion and Information Processing

Abstract

In today’s world, online social media has become one of the top platforms to convey thoughts, expression, views, and transferring of messages among people via microblogging. Recent studies have found that there are around 331 billion of active users, and they are relied upon to exceed 400 billion users by 2021. Social media users utilize this platform between 2 and 3 h a day. Twitter tweets may contain emotions. Most of the researchers using social media especially Twitter users use three different polarities for sentiment analysis, namely positive, negative, and neutral. Such polarities have never detected the emotion for any Twitter data. This chapter focuses on identifying emotional level of Twitter tweets by text classification. The proposed methodology uses Multinomial Naïve Bayes model for classification. It is computed by training and testing the model. The probability of each term in the document is calculated for every class. The class with higher frequency is considered and assigned a value. All these are done by extracting features like unigram and unigram with POS tagging for four-way classification and five-way classification method. Four-way classification using unigram feature produced a better result of 82.25% accuracy compared to five-way classification and existing systems.

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

  • Agarwal, A., Boyi, X., Vovsha, I., Owen, R., & Rebecca, P. (2011). Sentiment analysis of twitter data. In ACM Proceedings of the Workshop on Languages in Social Media (pp. 30–38).

    Google Scholar 

  • Alec, G., Bhayani, R., & Huang, L. (2009). Twitter sentiment classification using distant supervision. In Proceedings of Empirical Methods in Natural Language Processing (pp. 79–86).

    Google Scholar 

  • Dinakar, K., Jones, B., Havasi, C., Lieberman, H., & Picard, R. (2012). Commonsense reasoning for detection, prevention, and mitigation of cyber bullying. ACM Transactions on Interactive Intelligent Systems, 2(3), 1.

    Article  Google Scholar 

  • Han, J., & Kamber, M. (2006). Data mining (pp. 311–312). Amsterdam, Netherlands: Elsevier.

    Google Scholar 

  • Millions, N. (2008). Twitter: Number of active users 2010–2018|Statista. Statista, 2018 [Online]. Retrieved from http://www.statista.com/statistics/282087/number-of-monthlyactive-twitter-users

  • Pak, A., & Paroubek, P. (2010). Twitter as a corpus for sentiment analysis and opinion mining. In International Conference on Language Resources and Evaluation (pp. 1320–1326).

    Google Scholar 

  • Pang, B., Lee, L., & Vaithyanathan, S. (2002). Sentiment classification using machine learning techniques. In Proceedings of the ACL-02 Conference on Empirical Methods in Natural Language Processing (Vol. 10, pp. 79–86). Association for Computational Linguistics.

    Google Scholar 

  • Rahid, K., Ali Sha, M., Carsten, M., Mohsin, M., & Wahid, A. (2019). Emotion classification and crowd source sensing; A lexicon based approach. IEEE Access, 7, 27124–27135.

    Article  Google Scholar 

  • Sebe, N., Cohen, I., & Huang, T. S. (2005). Multimodal emotion recognition. In Handbook of pattern recognition and computer vision (pp. 387–409). Singapore: World Scientific.

    Chapter  Google Scholar 

  • Wang, W., Chen, L., Thirunarayan, K., & Sheth, A. (2012). Harnessing Twitter big data for automatic emotion identification. In IEEE International Conference on Social Computing (pp. 587–592).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Rajesh Kumar, E., Rama Rao, A.K.V.S.N., Nayak, S.R. (2020). Emotional Level Classification and Prediction of Tweets in Twitter. In: Mohanty, S.N. (eds) Emotion and Information Processing. Springer, Cham. https://doi.org/10.1007/978-3-030-48849-9_10

Download citation

Publish with us

Policies and ethics