Abstract
Years of Technological progress have made machines capable of understanding basic human emotions from their tonality. Written text is also an important method of communication where a wide range of emotions can be expressed. Thus, it is imperative for machines to be also able to understand the emotions being portrayed in the text messages. For this study, an analysis was done on a dataset known as GoEmotions for the potential development of a chatbot. This dataset contains 58 thousand selected Reddit comments collected from various subreddits that use the English language. The results shows that, these were then classified and categorized based on the principal preserved component analysis (PPCA) method into four main emotions; positive, negative, ambiguous, and neutral successfully. And for this task, Natural Language Processing (NLP) pre-training was applied, which was a transformer based machine learning technique.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Weizenbaum, J.: Eliza—a computer program for the study of natural language communication between man and machine. Commun. ACM 9(1), 36–45 (1966)
Raj, S.: Building Chatbots with Python: Using Natural Language Processing and Machine Learning, 1st edn. APRESS, New York (2018)
Terzopoulos, G., Satratzemi, M.: Voice assistants and smart speakers in everyday life and in education. Inform. Educ. 19, 473–490 (2020)
Jana, A., Patil, H.: The evolution of voice portal and virtual assistants. Int. J. Emerg. Technol. Innov. Res. 8, d556–d564 (2021). ISSN 2349-5162
Egger, M., Ley, M., Hanke, S.: Emotion recognition from physiological signal analysis: a review. Electron. Notes Theor. Comput. Sci. 343, 35–55 (2019)
Demszky, D., Movshovitz-Attias, D., Ko, J., Cowen, A., Nemade, G., Ravi, S.: Goemotions: a dataset of fine-grained emotions (2020). https://doi.org/10.48550/ARXIV.2005.00547. https://arxiv.org/abs/2005.00547
Lee, D., Oh, K.-J., Choi, H.-J.: The chatbot feels you-a counseling service using emotional response generation. In: 2017 IEEE International Conference on Big Data and Smart Computing (BigComp), pp. 437–440. IEEE (2017)
Kamita, T., Ito, T., Matsumoto, A., Munakata, T., Inoue, T.: A chatbot system for mental healthcare based on sat counseling method. Mob. Inf. Syst. 2019 (2019)
Munakata, T.: Reconstructing life and society with SAT therapy: foundations of the new generation CBT. Int. J. Struct. Assoc. Tech. 3, 35–60 (2009)
Cook, B., Progovac, A., Chen, P., Mullin, B., Hou, S., Baca-Garcia, E.: Novel use of natural language processing (NLP) to predict suicidal ideation and psychiatric symptoms in a text-based mental health intervention in Madrid. Comput. Math. Methods Med. 2016 (2016). https://doi.org/10.1155/2016/8708434
Tewari, A., Chhabria, A., Khalsa, A.S., Chaudhary, S., Kanal, H.: A survey of mental health chatbots using NLP. Available at SSRN 3833914 (2021)
Kontoangelos, K., Economou, M., Papageorgiou, C.: Mental health effects of COVID-19 pandemia: a review of clinical and psychological traits. Psychiatry Investig. 17(6), 491 (2020)
Rodrigo, M., et al.: Towards building mental health resilience through storytelling with a chatbot (2021)
Seligman, M.: PERMA and the building blocks of well-being. J. Posit. Psychol. 13(4), 333–335 (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Rahat, F.R. et al. (2022). Data Analysis Using NLP to Sense Human Emotions Through Chatbot. In: Singh, M., Tyagi, V., Gupta, P.K., Flusser, J., Ören, T. (eds) Advances in Computing and Data Sciences. ICACDS 2022. Communications in Computer and Information Science, vol 1614. Springer, Cham. https://doi.org/10.1007/978-3-031-12641-3_6
Download citation
DOI: https://doi.org/10.1007/978-3-031-12641-3_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-12640-6
Online ISBN: 978-3-031-12641-3
eBook Packages: Computer ScienceComputer Science (R0)