Abstract
Evaluation of emotion and recognition from textual data is a new and important study in the Natural Language Processing (NLP) field that could provide useful information for various applications. Nowadays people prefer sharing their thoughts, feelings, views, emotions, perceptions, etc. on social media in the form of short articles, e-commerce reviews, posts, and comments. It's important to analyze these textual facts in order to comprehend the nature of people’s thoughts or emotions prevailing on social media. Analyzing emotions from textual data is most challenging for researchers due to text data diversity, and restricted word length. This research article experimented popular deep learning algorithms (LSTM, BiLSTM, GRU, BiGRU) for emotion prediction from textual data extracted from social media. Authors found that performance of experimented models is better than traditional machine learning techniques. Authors adopted Ekman's six primary emotions. The performance of these algorithms is measured on accuracy, recall, precision, and F1-score parameters. The results demonstrate that BiGRU outperforms the other approaches in terms of emotion prediction.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Batbaatar, E., Li, M., Ryu, K.H.: Semantic-emotion neural network for emotion recognition from text. IEEE Access 7, 111866–111878 (2019)
Valstar, M.F., Jiang, B., Mehu, M., Pantic, M., Scherer, K.: The first facial expression recognition and analysis challenge. In: Proceedings of IEEE International Conference on Automatic and Face Gesture Recognition Workshops (FG), pp. 921–926 (2011)
Karg, M., Samadani, A.-A., Gorbet, R., Kuhnlenz, K., Hoey, J., Kulic, D.: Body movements for affective expression: a survey of automatic recognition and generation. IEEE Trans. Affective Comput. 4(4), 341–359 (2013)
Chowdhary, K.: Natural language processing. In: Fundamentals of Artificial Intelligence, pp. 603–649 (2020)
Shaaban, Y., Korashy, H., Medhat, W.: Emotion detection using deep learning. In: 16th International Conference on Computer Engineering and Systems (ICCES), pp. 1–10. IEEE (2021)
Mahto, D., Yadav, S.C.: Hierarchical Bi-LSTM based emotion analysis of textual data. Bull. Polish Acad. Sci. 70(3) (2022)
Angel Deborah, S., Mirnalinee, T.T., Rajendram, S.M.: Emotion analysis on text using multiple kernel Gaussian. Neural Process. Lett. 53(2), 1187–1203 (2021)
Mahto, D., Yadav, S.C., Lalotra, G.S.: Sentiment prediction of textual data using hybrid ConvBidirectional-LSTM model. Mob. Inf. Syst. 2022 (2022)
Sailunaz, K., Alhajj, R.: Emotion and sentiment analysis from Twitter text. J. Comput. Sci. 36, 101003 (2019)
Nasir, A.F.A., et al.: Text-based emotion prediction system using machine learning approach. In: IOP Conferences Series: Materials Science and Engineering, vol. 769, no. 1. IOP Publishing (2020)
Park, S.-H., Bae, B.-C., Cheong, Y.-G.: Emotion recognition from text stories using an emotion embedding model. In: IEEE International Conference on Big Data and Smart Computing (BigComp). IEEE (2020)
Zhang, X., et al.: Emotion detection in online social networks: a multilabel learning approach. IEEE Internet Things J. 7(9), 8133–8143 (2020)
Babulal, K.S., Nayak, B.K.: Suicidal analysis on social networks using machine learning. In: The Internet of Medical Things (IoMT) and Telemedicine Frameworks and Applications, pp. 230–247. IGI Global (2023)
Babulal, K.S., Das, A.K.: Deep learning-based object detection: an investigation. In: Singh, P.K., Wierzchoń, S.T., Chhabra, J.K., Tanwar, S. (eds.) Futuristic Trends in Networks and Computing Technologies, pp. 697–711. Springer, Singapore (2022). https://doi.org/10.1007/978-981-19-5037-7_50
Seal, D., Roy, U.K., Basak, R.: Sentence-level emotion detection from text based on semantic rules. In: Tuba, M., Akashe, S., Joshi, A. (eds.) Information and Communication Technology for Sustainable Development. AISC, vol. 933, pp. 423–430. Springer, Singapore (2020). https://doi.org/10.1007/978-981-13-7166-0_42
Xu, G., Meng, Y., Qiu, X., Yu, Z., Wu, X.: Sentiment analysis of comment texts based on BiLSTM. IEEE Access 7, 51522–51532 (2019)
Dey, R., Salem, F.M.: Gate-variants of gated recurrent unit (GRU) neural networks. In: IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS), pp. 1597–1600. IEEE (2017)
Liu, X., Wang, Y., Wang, X., Xu, H., Li, C., Xin, X.: Bi-directional gated recurrent unit neural network based nonlinear equalizer for coherent optical communication system. Opt. Exp. 29(4), 5923–5933 (2021)
Saravia, E., Liu, H.-C.T., Huang, Y.-H., Wu, J., Chen, Y.-S.: Carer: contextualized affect representations for emotion recognition. In: Proceedings of the Conference on Empirical Methods in Natural Language Processing, pp. 3687–3697 (2018)
Yadav, S.C., Kumar, P., Kumar, V.: Performance analysis of deep neural network algorithm with optimizer for rumour detection. Int. J. Aquatic Sci. 12(3), 38–45 (2021)
Sharma, A., Kumar, P., Babulal, K.S., Obaid, A.J., Patel, H.: Categorical data clustering using harmony search algorithm for healthcare datasets. Int. J. E-Health Med. Commun. 13(4), 1–15 (2022)
Wallach, H.M.: Topic modeling: beyond bag-of-words. In: Proceedings of the 23rd International Conference on Machine Learning, pp. 977–984 (2006)
Joachims, T.: A probabilistic analysis of the rocchio algorithm with TFIDF for text categorization. Carnegie-Mellon University, Pittsburgh, PA, Department of Computer Science (1996)
Almeida, F., Xexéo, G.: Word embeddings: a survey. arXiv preprint arXiv:1901.09069 (2019)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Kumar, P., Babulal, K.S., Mahto, D., Khurshid, Z. (2023). Analyzing Deep Neural Network Algorithms for Recognition of Emotions Using Textual Data. In: Garg, L., et al. Key Digital Trends Shaping the Future of Information and Management Science. ISMS 2022. Lecture Notes in Networks and Systems, vol 671. Springer, Cham. https://doi.org/10.1007/978-3-031-31153-6_6
Download citation
DOI: https://doi.org/10.1007/978-3-031-31153-6_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-31152-9
Online ISBN: 978-3-031-31153-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)