Emotion Classification in Text Using Machine Learning and LSTM

Emotion categorization is used in domains like customer service, social media content moderation, and interaction between humans and computers. Classification of emotion from text is a fundamental issue in NLP, or natural language processing. This study examines both advanced deep learning models (LSTM networks with embedding layers) and traditional machine learning techniques (Naive Bayes, Logistic Regression, SVM, Random Forest) for the classification of the six primary emotions: joy, sorrow, anger, fear, love, and surprise. The study uses a preprocessed emotion-tagged text dataset, and metrics including accuracy, precision, recall, and F1-score are utilized to evaluate the models. LSTMs perform better than conventional models, which find it difficult to grasp language subtleties and contextual correlations, by processing sequential data and contextual information with ease.

Authors

Institutions

Publication Details

Published
2025-03-21
DOI
https://doi.org/10.1109/comp-sif65618.2025.10969881
Citations
2
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
4.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Emotion Classification in Text Using Machine Learning and LSTM

Ravi Kumar J, B P Pradeep Kumar, Arpita Biswas, Bi Bi Hafeeza et al.
2 citations
Sentiment Analysis and Opinion Mining
4.96
article

Emotion Classification in Text Using Machine Learning and LSTM

Ravi Kumar J, B P Pradeep Kumar, Arpita Biswas, Bi Bi Hafeeza, D Dhaanya
article en
2 citations

Abstract

Emotion categorization is used in domains like customer service, social media content moderation, and interaction between humans and computers. Classification of emotion from text is a fundamental issue in NLP, or natural language processing. This study examines both advanced deep learning models (LSTM networks with embedding layers) and traditional machine learning techniques (Naive Bayes, Logistic Regression, SVM, Random Forest) for the classification of the six primary emotions: joy, sorrow, anger, fear, love, and surprise. The study uses a preprocessed emotion-tagged text dataset, and metrics including accuracy, precision, recall, and F1-score are utilized to evaluate the models. LSTMs perform better than conventional models, which find it difficult to grasp language subtleties and contextual correlations, by processing sequential data and contextual information with ease.

Visvesvaraya Technological University (IN)
Quality Education
Openalex Percentile: Top 6%
Sentiment Analysis and Opinion Mining
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.