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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
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).
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).
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.
Han, J., & Kamber, M. (2006). Data mining (pp. 311–312). Amsterdam, Netherlands: Elsevier.
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).
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.
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.
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.
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).
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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
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
DOI: https://doi.org/10.1007/978-3-030-48849-9_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-48848-2
Online ISBN: 978-3-030-48849-9
eBook Packages: Behavioral Science and PsychologyBehavioral Science and Psychology (R0)