Abstract
“The task of emotion detection usually involves the analysis of text. Humans show universal consistency in identifying emotions however shows an excellent deal of variation between individuals in their abilities.” We have detected the emotion for Twitter messages as they provide rich ensemble of human emotions. We have used machine learning algorithms namely Naive Bayes (NB) and k-nearest neighbor algorithm (KNN) to detect the emotion of Twitter message and then classify the Twitter messages into four emotional categories. We also made a comparative study of two supervised machine learning algorithms; the eager learning classifier (NB) performed well when compared with lazy learning classifier (KNN).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Roberts, K., Roach, M.A., Johnson, J., Guthrie, J., Harabagiu, S.M.: EmpaTweet: annotating and detecting emotions on Twitter. In: Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC), ROBERTS12.201.L12-1059 (2012)
Hasan, M., Rundensteiner, E., Agu, E.: Emotex: detecting emotions in Twitter messages. Ase BigData/SocialCom/CyberSecurity Conference, 27–31 May 2014
Suhasini, M., Badugu, S.: Two step approach for emotion detection on Twitter data. Int. J. Comput. Appl. (0975 – 8887) 179(53) (2018)
Bollen, J., Mao, H., Pepe, A.: Modeling public mood and emotion: Twitter sentiment and socio-economic phenomena. In: International AAAI Conference on Weblogs and Social Media (ICWSM’11) (2011)
Thelwall, M., Buckley, K., Paltoglou, G.: Sentiment in Twitter events. J. Am. Soc. Tavel Model. Simul. Design. (2007)
Diener, E., Seligman, M.E.P.: Beyond money: toward an economy of well-being. In: Psychological Science in the Public Interest. American Psychological Society (2004)
Diener, E.: Assessing Well-Being: The Collected Works of Ed Diener, vol. 3. Springer (2009)
Diener, E., Lucas, R.E., Oishi, S.: Subjective Wellbeing: The Science of Happiness and Life Satisfaction
De Choudhury, M., Counts,S., Gamon, M.: Not all moods are created equal! Exploring human emotional states in social media. In: Sixth International AAAI Conference on Weblogs and Social Media (ICWSM’12) (2012)
Lund, K., Burgess, C.: Producing high-dimensional semantic spaces from lexical co-occurrence. Behav. Res. Methods Instrum. Comput. 28(2), 203–208 (1996)
Go A., Bhayani, R., & Huang L., Twitter Sentiment Classification Using Distant Supervision. Retrieved (2014)
Mohammad, S.M.: #Emotional tweets. In: First Joint Conference on Lexical and Computational Semantics, pp. 246–255, Canada (2012)
Alm, C.O., Sproat, R.: Emotional sequencing and development in fairy tales, pp. 668–674. Springer (2005)
Alm, C.O., Roth, D., Sproat, R.: Emotions from text: machine learning for textbased emotion prediction. In: Proceedings of the Joint Conference on HLT–EMNLP, Vancouver, Canada (2005)
Francisco, V., Gervás, P.: Automated mark up of affective information in english texts. In: Text, Speech and Dialogue, vol. 4188, pp. 375–382. Lecture Notes in Computer Science. Springer, Berlin, Heidelberg (2006)
Genereux, M., Evans, R.P.: Distinguishing affective states in weblogs. In: AAAI-2006 Spring Symposium on Computational Approaches to AnalysingWeblogs, pp. 27–29, Stanford, California (2006)
Neviarouskaya, A., Prendinger, H., Ishizuka, M.: Compositionality principle in recognition of fine-grained emotions from text. In: Proceedings of the Proceedings of the Third International Conference on Weblogs and Social Media (ICWSM-09), pp. 278–281, San Jose, California (2009)
Badugu, S., Suhasini, M.: Emotion detection on Twitter data using knowledge base approach. Int. J. Comput. Appl. (0975 – 8887) 162(10) (2017)
Agarwal, A., Xie, B., Vovsha, I., Rambow, O., Passonnea, R.: Sentiment analysis of Twitter data. In: Proceedings of the Workshop on Language in Social Media (LSM), pp. 30–38, Portland, Oregon (2011)
Montejo-Ráez, A., Martínez-Cámara, E., Martín-Valdivia, M. T., Urena-Lopez, L. A.: Random Walk Weighting over SentiWordNet for Sentiment Polarity Detection on Twitter. In: Proceedings of the 3rd Workshop on Computational Approaches to Subjectivity and Sentiment Analysis, pp. 3–10, Republic of Korea (2012)
Kumar, A., Sebastian, T.M.: Sentiment analysis on Twitter. Int. J. Comput. Sci. 9(4). ISSN:1694-0814 (2012). (Online)
Purver, M., Battersby, S.: Experimenting with distant supervision for emotion classification. In: Proceedings of the 13th Conference of the European Chapter of the Association for Computational Linguistics, pp. 482–491, Avignon, France (2012)
Tanaka, Y., Takamura, H., Okumura, M.: Extraction and classification of facemarks with kernel methods. In: Proceedings of IUI (2005)
Naaman, M., Boase, J., Lai, C.-H.: Is it really about me? Message content in social awareness streams. In ACM Conference on Computer Supported Cooperative Work (2010)
Agarwal, S., Sureka, A.: Using KNN and SVM based one-class classifier for detecting online radicalization on Twitters, ICDCIT, LNCS 8956, pp. 431–442, Switzerland (2015). https://link.springer.com/chapter/10.1007/978-3-319-14977-6_47
Liew, J.S.Y., Turtle, H.R.: Exploring fine-grained emotion detection in Tweets. In: Proceedings of NAACL-HLT, pp. 73–80, Association for Computational Linguistics, California (2016)
De Choudhury, M., Gamon, M., Counts, S., Horvitz, E.: Predicting depression via social media. In: International AAAI Conference on Weblogs and Social Media (ICWSM’13). The AAAI Press (2013)
Pearl, L., Steyvers, M.: Identifying emotions, intentions, and attitudes in text using a game with a purpose. In: Proceedings of the NAACLHLT Workshop on Computational Approaches to Analysis and Generation of Emotion in Text, Los Angeles, California (2010)
Golder, S., Loke, Y.K., Bland, M.: Meta-analyses of adverse effects data derived from randomized controlled trials as compared to observational studies: methodological overview. PLoS Med 8(5), e1001026 (2011). https://doi.org/10.1371/journal.pmed.1001026
Khan, A.Z.H., Atique, M., Thakare, V. M.: Combining lexicon-based and learning-based methods for Twitter sentiment analysis. Int. J. Electron. CSCSE. ISSN:2277-9477 (2015)
Strapparava, C., Mihalcea, R.: Learning to identify emotions in text. In: Proceedings of the ACM Symposium on Applied computing. ACM, pp. 1556–1560 (2008)
Russell, J.A.: A circumplex model of affect. J. Pers. Soc. Psychol. 39, 1161–1178 (1980)
Olson, D.H., Sprenkle, D.H., Russell, C.S.: Circumplex model of marital and family system: I. Cohesion and adaptability dimensions, family types and clinical applications, vol. 18, Issue No. 1, pp. 3–28. Wiley Online Library (1979)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Suhasini, M., Srinivasu, B. (2020). Emotion Detection Framework for Twitter Data Using Supervised Classifiers. In: Raju, K.S., Senkerik, R., Lanka, S.P., Rajagopal, V. (eds) Data Engineering and Communication Technology. Advances in Intelligent Systems and Computing, vol 1079. Springer, Singapore. https://doi.org/10.1007/978-981-15-1097-7_47
Download citation
DOI: https://doi.org/10.1007/978-981-15-1097-7_47
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-1096-0
Online ISBN: 978-981-15-1097-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)