Emotionally Intelligent Music Player for Mood Improvement based on Text Emotion Recognition using Deep Learning Approach

Authors

  • Shrikala Deshmukh Amity University, Mumbai, India and College of Engineering, Bharati Vidyapeeth, Pune, India
  • Preeti Gupta Amity University, Mumbai, India

Keywords:

Deep learning, Machine learning, Lexicon database, BBC database, Convolutional neural network, Multiclass Support Vector Machine.

Abstract

This study shows a unique approach of Mood elevating music player based on Text emotion recognition. Emotions play a very vital role in everyday life. In this internet era, textual data is mainly designed for communication. Natural language processing is designed for textual data such as messages, emails, articles, reviews, posts, etc. Sentiment analysis is used in various fields. For emotion recognition from text, Deep learning with machine learning approach is used. CNN(Convolutional Neural Network) with a multiclass support vector machine algorithm is used. One vs Rest approach is used for multiclass SVM classifier. Lexicon database and BBC database are operated. Proposed system is compared with K-nearest Neighbour (KNN), Random Forest (RF), Naïve Bayes (NB) algorithms. Results show the accuracy of around 86.88% using BBC database with and approximately 91.2% using Lexicon database, which is higher than other classifiers.  Other classifiers such as Random Forest (RF) shows the accuracy of 68.44% for lexicon and 62.44% for BBC, Naïve Bayes (NB) shows the accuracy of 62.56% for lexicon and 59.28% for BBC, K-nearest neighbour (KNN) shows the accuracy of 74.12% for lexicon and 69.28% for BBC. As a result, CNN with multiclass SVM gives 91.2% accuracy using lexicon database.

Downloads

Download data is not yet available.

References

Wu, C. H., Chuang, Z. J., & Lin, Y. C. “Emotion recognition from text using semantic labels and separable mixture models”, ACM transactions on Asian language information processing (TALIP), 5(2), 165-183, 2006.

Kirange, D. K., & Deshmukh, R. R., ”Emotion classification of news headlines using SVM”, Asian Journal of Computer Science and Information Technology, 5(2), 104-106, 2012.

Calefato, F., Lanubile, F., & Novielli, N. “EmoTxt: a toolkit for emotion recognition from text”, In 2017 seventh international conference on Affective Computing and Intelligent Interaction Workshops and Demos (ACIIW) pp. 79-80. IEEE, 2017.

Chuang, Z. J., & Wu, C. H. “Multi-modal emotion recognition from speech and text.”, In International Journal of Computational Linguistics & Chinese Language Processing, Volume 9, Number 2, August 2004: Special Issue on New Trends of Speech and Language Processing, pp. 45-62, 2004.

Batbaatar, E., Li, M., & Ryu, K. H. “Semantic-emotion neural network for emotion recognition from text.” IEEE Access, 7, 111866-111878, 2019.

Shaheen, S., El-Hajj, W., Hajj, H., & Elbassuoni, S. (2014, December). “Emotion recognition from text based on automatically generated rules.” In 2014 IEEE International Conference on Data Mining Workshop (pp. 383-392). IEEE.,2014.

Alswaidan, N., & Menai, M. E. B. “A survey of state-of-the-art approaches for emotion recognition in text.” Knowledge & Information Systems, 62(8), 2020.

Shivhare, S. N., & Khethawat, S. “Emotion detection from text.”, arXiv preprint arXiv:1205.4944, 2012.

Kratzwald, B., Ilić, S., Kraus, M., Feuerriegel, S., & Prendinger, H. Deep learning for affective computing: Text-based emotion recognition in decision support.” Decision Support Systems, 115, 24-35, 2018.

Seol, Y. S., Kim, D. J., & Kim, H. W. Emotion recognition from text using knowledge-based ANN. ITC-CSCC: International Technical Conference on Circuits Systems, Computers, and Communications (pp. 1569-1572), 2008.

Su, M. H., Wu, C. H., Huang, K. Y., & Hong, Q. B. “LSTM-based text emotion recognition using semantic and emotional word vectors.” In 2018 First Asian Conference on Affective Computing and Intelligent Interaction (ACII Asia) (pp. 1-6). IEEE, 2018

Hajar, M “Using YouTube comments for text-based emotion recognition”. Procedia Computer Science, 83, 292-299.2018.

Zad, S., & Finlayson, M. Systematic evaluation of a framework for unsupervised emotion recognition for narrative text. In Proceedings of the First Joint Workshop on Narrative Understanding, Storylines, and Events, pp. 26-37, 2020.

Ho, V. A., Nguyen, D. H. C., Nguyen, D. H., Thi-Van Pham, L., Nguyen, D. V., Van Nguyen, K., & Nguyen, N. L. T. (2019, October). “Emotion recognition for vietnamese social media text.” In International Conference of the Pacific Association for Computational Linguistics (pp. 319-333). Springer, Singapore.2019.

Teng, Z., Ren, F., & Kuroiwa, S. (2007, August). Emotion recognition from text based on the rough set theory and the support vector machines. In 2007 International Conference on Natural Language Processing and Knowledge Engineering (pp. 36-41). IEEE, 2007.

Chaffar, S., & Inkpen, D. Using a heterogeneous dataset for emotion analysis in the text. In Canadian conference on artificial intelligence (pp. 62-67). Springer, Berlin, Heidelberg., 2011.

Prabowo Rudy, and Mike Thelwall. "Sentiment analysis: A combined approach." Journal of Informetrics 3, no. 2 (2009): 143-157.2009.

Liu Bing. "Sentiment analysis and subjectivity." Handbook of natural language processing 2, no. 2010 (2010): 627-666.2010.

Feldman Ronen. "Techniques and applications for sentiment analysis." Communications of the ACM 56, no. 4 (2013): 82-89.,2013.

Jiao Jian, and Yanquan Zhou. "Sentiment polarity analysis based multi-dictionary." Physics Procedia 22 (2011): 590-596.2011.

Chopade Chetan R. "Text-based emotion recognition: A survey." International journal of science and research 4, no. 6 (2015): 409-414.2015.

Sailunaz Kashfia, Manmeet Dhaliwal, Jon Rokne, and Reda Alhajj. "Emotion detection from text and speech: a survey." Social Network Analysis and Mining 8, no. 1 (2018): 1-26., 2018.

Gosai Dhruvi D., Himangini J. Gohil, and Hardik S. Jayswal. "A review on emotion detection and recognization from text using natural language processing." International Journal of Applied Engineering Research 13, no. 9 (2018): 6745-6750., 2018.

Bagde Sarika, and Karwande. V., "Emotion Based Music Recommendation System by Using Different ML Approach." International Journal of Advanced Scientific Research and Engineering Trends, Volume 6, Issue 6 (2021): 181-186., 2021

Acheampong, Francisca Adoma, Chen Wenyu, and Henry Nunoo‐Mensah. "Text‐based emotion detection: Advances, challenges, and opportunities." Engineering Reports 2, no. 7 (2020): e12189.

Ü. Dogan, T. Glasmachers, and C. Igel. Fast training of multi-class Support Vector Machines. Technical report, Department of Computer Science, University of Copenhagen, 2011.

Asghar, M. Z., Lajis, A., Alam, M. M., Rahmat, M. K., Nasir, H. M., Ahmad, H., ... & Albogamy, F. R. (2022). A Deep Neural Network Model for the Detection and Classification of Emotions from Textual Content. Complexity, 2022.

Hasan M, Rundensteiner E, Agu E. Automatic emotion detection in text streams by analyzing twitter data. Int J Data Sci Anal. 2019; 7(1): 35- 51.

Malte A, Ratadiya P. Multilingual cyber abuse detection using advanced transformer architecture. Paper presented at: Proceedings of the TENCON 2019-2019 IEEE Region 10 Conference; 2019:784-789; IEEE.

Huang C, Trabelsi A, Zaïane OR. ANA at SemEval-2019 Task 3: contextual emotion detection in conversations through hierarchical LSTMs and BERT; 2019. arXiv preprint arXiv:1904.00132.

Huang Y-H, Lee S-R, Ma M-Y, Chen Y-H, Yu Y-W, Chen Y-S. EmotionX-IDEA: emotion BERT–an affectional model for conversation; 2019. arXiv preprint arXiv:1908.06264.

Suhasini M, Srinivasu B. Emotion Detection Framework for Twitter Data Using Supervised Classifiers. New York, NY: Springer; 2020 (pp. 565–576).

Ahmad Z, Jindal R, Ekbal A, Bhattachharyya P. Borrow from rich cousin: transfer learning for emotion detection using cross lingual embedding. Expert Syst Appl. 2020; 139: 112851.

John S, Ederyn W, Bruce C. The Social Psychology of Telecommunication. London, UK and New York, NY: John Wiley & Sons; 1976.

Jayakrishnan R, Gopal Greeshma N, Santhikrishna MS. Multi-class emotion detection and annotation in malayalam novels. Paper presented at: Proceedings of the 2018 International Conference on Computer Communication and Informatics; 2018:1-5; IEEE.

Deshmukh, Shrikala Madhav, and Devulapalli Sita. "Mood enhancing music player based on speech emotion recognition and text emotion recognition." International Journal 8, no. 6 (2020).

Deshmukh, Shrikala, Preeti Gupta, and Prashant Mane. "Investigation of Results Using Various Databases and Algorithms for Music Player Using Speech Emotion Recognition." In Proceedings of the 13th International Conference on Soft Computing and Pattern Recognition (SoCPaR 2021), pp. 205-215. Cham: Springer International Publishing, 2022.

Rambabu, B. ., Vikranth, B. ., Anupkanth, S. ., Samya, B. ., & Satyanarayana, N. . (2023). Spread Spectrum based QoS aware Energy Efficient Clustering Algorithm for Wireless Sensor Networks . International Journal on Recent and Innovation Trends in Computing and Communication, 11(1), 154–160. https://doi.org/10.17762/ijritcc.v11i1.6085

Flores, A., Silva, A., López, L., Rodriguez, A., & María, K. Machine Learning-Enabled Early Warning Systems for Engineering Student Retention. Kuwait Journal of Machine Learning, 1(1). Retrieved from http://kuwaitjournals.com/index.php/kjml/article/view/106

Downloads

Published

27.10.2023

How to Cite

Deshmukh , S. ., & Gupta, P. . (2023). Emotionally Intelligent Music Player for Mood Improvement based on Text Emotion Recognition using Deep Learning Approach. International Journal of Intelligent Systems and Applications in Engineering, 12(2s), 294–302. Retrieved from https://ijisae.org/index.php/IJISAE/article/view/3580

Issue

Section

Research Article