Abstract
Emotion recognition is a process of extracting and analysing human emotion from text, audio, and video. Emotion recognition from song lyrics is gaining attention from the research community. However, very limited efforts have been made in low resource Indian languages due to the lack of benchmark datasets and tools. This paper makes an attempt in recognising and categorising the emotions arising from the lyrical text of Hindi songs. Most of the song emotion classification approaches deal with a maximum of three categories. This paper explores the concept of Navrasa of Indian aesthetics for categorising emotions from the song into nine categories. In this work, five different feature variations of a particular song’s lyrics are extracted. The feature vectors are represented using TF-IDF and Doc2vec. Four different classifiers namely Support Vector Machines, Logistic Regression, Multinomial Naïve Bayes, and K-Nearest Neighbours are used for classifying the emotions of the song. From the experiments, it is observed that the performance of the SVM classifier achieved the highest accuracy of 66.7%.
Similar content being viewed by others
Notes
Statement 4: Scheduled Languages in descending order of speakers’ strength—2011 Ministry of Home Affairs, Government of India https://censusindia.gov.in/2011Census/Language_MTs.html.
References
Kim YE, Schmidt EM, Migneco R, Morton BG, Richardson P, Scott JJ, Speck JA, Turnbull D (2010) State of the art report: music emotion recognition: a state of the art review. In: Stephen Downie J, Veltkamp RC (eds) Proceedings of the 11th International Society for Music Information Retrieval Conference, ISMIR 2010, Utrecht, Netherlands, August 9–13, 2010. International Society for Music Information Retrieval, pp 255–266
Acheampong FA, Wenyu C, Nunoo-Mensah H (2020) Text-based emotion detection: advances, challenges, and opportunities. Eng Rep 2(7):e12189
Shivhare SN, Khethawat S (2012) Emotion detection from text. In: Proceedings of International workshop on Data Mining & Knowledge Management Process (DKMP-2012), New Delhi, India, August 26–27, 2012, vol 2. Computer Science Conference Proceedings (CSCP), pp 371–377
Bogdanov D, Porter A, Tovstogan P, Won M (2019) Mediaeval 2019: emotion and theme recognition in music using jamendo. In: Larson MA, Hicks SA, Constantin MG, Bischke B, Porter A, Zhao P, Lux M, Quiros LC, Calandre J, Jones G (eds) Working Notes Proceedings of the MediaEval 2019 Workshop, Sophia Antipolis, France, 27–30 October 2019, volume 2670 of CEUR Workshop Proceedings. CEUR-WS.org
Shakoor AA, Sahebdin WB, Pudaruth S (2015) Exploring the evolutionary change in bollywood lyrics over the last two decades. In: The Second International Conference on Data Mining, Internet Computing, and Big Data (BigData2015), Reduit, Mauritius
Morcom A (2017) Hindi film songs and the cinema, 1st edn. Routledge
Gajjar K, Shah S (2015) Mood based playlist generation for Hindi popular music: a proposed model. Int J Comput Appl 127(14):11–14
Apoorva GD (2018) Towards understanding bollywood lyrics. Master dissertation, International Institute of Information Technology, Hyderabad, India
Mohan Thampi GB (1965) “Rasa’’ as aesthetic experience. J Aesthet Art Criticism 24(1):75–80
Koduri GK, Indurkhya B (2010) A behavioral study of emotions in South Indian classical music and its implications in music recommendation systems. In: Proceedings of the 2010 ACM workshop on Social, Adaptive and Personalized Multimedia Interaction and Access, SAPMIA ’10, New York, NY, USA, pp 55–60
Yousaf A, Umer M, Sadiq S, Ullah S, Mirjalili S, Rupapara V, Nappi M (2021) Emotion recognition by textual tweets classification using voting classifier (LR-SGD). IEEE Access 9:6286–6295
Sailunaz K, Alhajj R (2019) Emotion and sentiment analysis from Twitter text. J Comput Sci 36:101003
Bandhakavi A, Wiratunga N, Padmanabhan D, Massie S (2017) Lexicon based feature extraction for emotion text classification. Pattern Recognit Lett 93:133–142 (Pattern Recognition Techniques in Data Mining)
Sintsova V, Pu P (2016) Dystemo: distant supervision method for multi-category emotion recognition in tweets. ACM Trans Intell Syst Technol 8(1):1–22
Sultana S, Iqbal MZ, Selim MR, Rashid MdM, Rahman MS (2022) Bangla speech emotion recognition and cross-lingual study using Deep CNN and BLSTM Networks. IEEE Access 10:564–578
Pandey SK, Shekhawat HS, Prasanna SRM (2022) Attention gated tensor neural network architectures for speech emotion recognition. Biomed Signal Process Control 71:103173
Thirumuru R, Gurugubelli K, Vuppala A (2021) Novel feature representation using single frequency filtering and nonlinear energy operator for speech emotion recognition. Digit Signal Process 120(10):103293
Kwon O-W, Chan K, Hao J, Lee T-W (2003) Emotion recognition by speech signals. In: Proceedings of 8th European Conference on Speech Communication and Technology (Eurospeech 2003), pp 125–128
Gouta K, Masakazu M (2000) Emotion recognition: facial components associated with various emotions. Shinrigaku kenkyu Jpn J Psychol 71(3):211–218
Kim J, André E (2008) Emotion recognition based on physiological changes in music listening. IEEE Trans Pattern Anal Mach Intell 30(12):2067–2083
Singh M, Fang Y (2020) Emotion recognition in audio and video using deep neural networks. CoRR arXiv:2006.08129
Busso C, Bulut M, Lee C-C, Kazemzadeh A, Provost EM, Kim S, Chang J, Lee S, Narayanan S (2008) IEMOCAP: interactive emotional dyadic motion capture database. Lang Resour Eval 42(12):335–359
Almashraee M, Monett D, Paschke A (2016) Emotion level sentiment analysis: the affective opinion evaluation. In: EMSA-RMed@ESWC
Yang H, Willis A, Roeck AD, Nuseibeh B (2012) A hybrid model for automatic emotion recognition in suicide notes. Biomed Inform Insights 5s1:BII.S8948
Kumar V, Minz S (2013) Mood classification of lyrics using sentiwordnet. In: 2013 international conference on computer communication and informatics, pp 1–5
Baccianella S, Esuli A, Sebastiani F (2010) SentiWordNet 3.0: an enhanced lexical resource for sentiment analysis and opinion mining. In: Proceedings of the seventh international conference on Language Resources and Evaluation (LREC’10), Valletta, Malta, May. European Language Resources Association (ELRA)
Agrawal Y, Shanker RGR, Alluri V (2021) Transformer-based approach towards music emotion recognition from lyrics. In: Advances in Information Retrieval: 43rd European Conference on IR Research, ECIR 2021, Virtual Event, March 28–April 1, Proceedings, Part II, 2021. Springer, Berlin, Heidelberg, pp 167–175
Çano E, Morisio M (2017) Moodylyrics: a sentiment annotated lyrics dataset. In: Proceedings of the 2017 International Conference on Intelligent Systems, Metaheuristics & Swarm Intelligence, ISMSI ’17. Association for Computing Machinery, New York, pp 118–124
Malheiro R, Panda R, Gomes P, Paiva RP (2018) Emotionally-relevant features for classification and regression of music lyrics. IEEE Trans Affect Comput 9(2):240–254
Abburi H, Akhil ES, Gangashetty SV, Mamidi R (2016) Multimodal sentiment analysis of Telugu songs. In: Proceedings of the 4th workshop on Sentiment Analysis where AI meets Psychology (SAAIP 2016), IJCAI 2016, New York City, USA, July 10, 2016, pp 48–52
Patra BG, Das D, Bandyopadhyay S (2015) Mood classification of Hindi songs based on lyrics. In: Proceedings of the 12th international conference on Natural Language Processing. NLP Association of India, Trivandrum, pp 261–267
Nath D, Roy A, Shaw SK, Ghorai A, Phani S (2020) Textual lyrics based emotion analysis of Bengali songs. In: 2020 International Conference on Data Mining Workshops (ICDMW), pp 39–44
Chauhan S, Chauhan P (2016) Music mood classification based on lyrical analysis of Hindi songs using latent Dirichlet allocation. In: 2016 International Conference on Information Technology (InCITe)—the next generation IT summit on the theme—Internet of Things: connect your worlds, pp 72–76
Velankar M, Kotian R, Kulkarni P (2021) Contextual mood analysis with knowledge graph representation for Hindi song lyrics in Devanagari script. CoRR arXiv:2108.06947
Koul ON (2008) Modern Hindi grammar, 1st edn. Dunwoody Press
Esuli A, Sebastiani F (2006) SENTIWORDNET: a publicly available lexical resource for opinion mining. In: Proceedings of the fifth international conference on Language Resources and Evaluation (LREC’06), Genoa, Italy, May. European Language Resources Association (ELRA)
Manning CD, Raghavan P, Schütze H (2008) Introduction to information retrieval. Cambridge University Press, Cambridge
Robertson S (2004) Understanding inverse document frequency: on theoretical arguments for IDF. J Doc 60(5):503–520
Dai AM, Olah C, Le QV (2015) Document embedding with paragraph vectors. CoRR arXiv:1507.07998
Rish I (2001) An empirical study of the naive Bayes classifier. In: IJCAI 2001 workshop on empirical methods in artificial intelligence, vol 3. IBM New York, pp 41–46
Cortes C, Vapnik V (1995) Support-vector networks. Mach Learn 20(3):273–297
Lee Y, Lin Y, Wahba G (2004) Multicategory support vector machines. J Am Stat Assoc 99(465):67–81
Cramer JS (2002) The origins of logistic regression. Tinbergen Institute, Tinbergen Institute Discussion Papers (02-119/4)
Altman NS (1992) An introduction to kernel and nearest-neighbor nonparametric regression. Am Stat 46(3):175–185
Tharwat A (2021) Classification assessment methods. Appl Comput Inform 17(1):168–192
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Dhar, S., Gour, V. & Paul, A. Emotion recognition from lyrical text of Hindi songs. Innovations Syst Softw Eng (2022). https://doi.org/10.1007/s11334-022-00520-z
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11334-022-00520-z