Text-Based Emotion Recognition Using Supervised Machine Learning

  • Unique Paper ID: 205263
  • Volume: 13
  • Issue: 1
  • PageNo: 5899-5905
  • Abstract:
  • A supervised machine learning model that identifies human emotions in text, such as reviews, chat, comments, social media posts etc. Is referred to as Text Based Emotion Recognition using supervised machine learning. The system uses machine learning algorithms like Naive Bayes (NB), Decision Tree (DT), Random Forest (RF), Support Vector Machine (SVM) and Logistic Regression (LR) to identify various emotions such as happy, sad, anger, fear, surprise and neutral expression. The proposed research was evaluated by a thorough experiment with the standard metrics, namely accuracy, precision, recall and f1-score to analyze and determine which machine learning model perform better on text emotion classification task. This proposed model was trained using a dataset with 416,809 text records in which the result showed that logistic regression outperformed the other ma-chine learning models in terms of accuracy, thus predicting and classifying text emotionally. There are also pre-processing natural language processing techniques such as tokenization, stop-words removal, stemming, and also feature extraction techniques like TF-IDF, Bag-of-Words which were included to perform better classification. The achieved results demonstrate the effective performance of these advanced supervised machine learning models in detecting human emotions in text with minimized manual interference for emotional analysis, can revolutionize human-computer interaction and would be greatly beneficial in fields like mental health monitoring, analysis of customer feedback, chatbots, recommendation engines, learning platforms, social media monitoring etc.

Copyright & License

Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

BibTeX

@article{205263,
        author = {Shashwat Rai and Gaurav Singh and Mrinmoy Kayal},
        title = {Text-Based Emotion Recognition Using Supervised Machine Learning},
        journal = {International Journal of Innovative Research in Technology},
        year = {2026},
        volume = {13},
        number = {1},
        pages = {5899-5905},
        issn = {2349-6002},
        url = {https://ijirt.org/article?manuscript=205263},
        abstract = {A supervised machine learning model that identifies human emotions in text, such as reviews, chat, comments, social media posts etc. Is referred to as Text Based Emotion Recognition using supervised machine learning. The system uses machine learning algorithms like Naive Bayes (NB), Decision Tree (DT), Random Forest (RF), Support Vector Machine (SVM) and Logistic Regression (LR) to identify various emotions such as happy, sad, anger, fear, surprise and neutral expression. The proposed research was evaluated by a thorough experiment with the standard metrics, namely accuracy, precision, recall and f1-score to analyze and determine which machine learning model perform better on text emotion classification task. This proposed model was trained using a dataset with 416,809 text records in which the result showed that logistic regression outperformed the other ma-chine learning models in terms of accuracy, thus predicting and classifying text emotionally. There are also pre-processing natural language processing techniques such as tokenization, stop-words removal, stemming, and also feature extraction techniques like TF-IDF, Bag-of-Words which were included to perform better classification. The achieved results demonstrate the effective performance of these advanced supervised machine learning models in detecting human emotions in text with minimized manual interference for emotional analysis, can revolutionize human-computer interaction and would be greatly beneficial in fields like mental health monitoring, analysis of customer feedback, chatbots, recommendation engines, learning platforms, social media monitoring etc.},
        keywords = {component, formatting, style, styling, insert},
        month = {June},
        }

Cite This Article

Rai, S., & Singh, G., & Kayal, M. (2026). Text-Based Emotion Recognition Using Supervised Machine Learning. International Journal of Innovative Research in Technology (IJIRT), 13(1), 5899–5905.

Related Articles