An Enhanced Textual Review Classification and Sentiment Analysis Approach based on Machine Learning: A Comprehensive Analysis for Text Categorization Approaches

Authors

  • Ali Ahmed Faculty of Computer Science & IT Superior University Lahore, 54000, Pakistan.
  • Nasar Ahmed IT Engineer, Supportiyo Ltd., Camp Hill, PA 17011, USA
  • Umair Ghafoor Deputy Head of Engineering Calrom Limited, M1 6EG, United Kingdom.
  • Syed Muhammad Rizwan Department of Computer Engineering, University of Engineering and Technology Lahore, Pakistan
  • Rizwan Qureshi Department of Computer Science, COMSATS University, Islamabad, Lahore Campus, Pakistan.
  • Hamayun Khan Department of Computer Science, Faculty of Computer Science & IT Superior University Lahore, 54000, Pakistan.
  • Muhammad Zunnurain Hussain Bahria University Lahore Campus, Pakistan.

DOI:

https://doi.org/10.62019/x6sz1d43

Abstract

Since interpretable feature-engineered pipelines, natural language processing (NLP) has developed into deep neural and transformer-based architectures, and finally, large language models (LLMs) that can generalize their results across tasks. This development has significantly enhanced the subjective language comprehension, such as sentiment, emotion, sarcasm, humor, stance, metaphor, intent and aesthetic judgments, and increased the requirements of explainability in high-stakes areas. Already trained transformers (e.g., encoder-only and decoder-only versions) and LLMs like BERT and GPT have established powerful baselines on text classification and zero/few-shot subjectivity modeling, but the opaqueness of these models drives language-based rationalization (extractive/abstractive natural-language justifications) and feature-attribution algorithms (e.g., LIME, Integrated Gradients, SHAP). The four strands brought together by this survey include: (i) sentiment-analysis methods and datasets (e.g., IMDb, Sentiment140, Twitter Airline, SemEval), (ii) transformer-era text classification, (iii) LLMs on subjective language, and (iv) rationalization of explainable NLP. We have provided a unified taxonomy of subjective tasks and have analyzed model families, starting with classical ML up to transformers/LLMs; have collected major data sets and benchmarks; and have systematized explainability methods, in particular rationalization, and their evaluations and classify open problems dataset bias and annotation ambiguity, constraints of faithfulness and explanatory comprehensibility, evaluation bias, compute cost, and ethical risks. The article will facilitate the formation of a coherent foundation of explainable, credible subjective NLP based on the functions of transformer/LLM and analyze feature extraction techniques methodically based on LLM. We have trained a Machine Learning classifier using 70% of the training data and 30% of the testing data. Based on our results, we find that the proposed ML based technique gives enhanced performance, with an improved accuracy of 99% in the UCI-ML reviews dataset and 96% in the Twitter Kaggle dataset. This study underscores the paramount significance of feature extraction in sentiment analysis, endowing pragmatic insights to elevate model performance and steer future research pursuits.

Downloads

Published

2025-12-27

How to Cite

An Enhanced Textual Review Classification and Sentiment Analysis Approach based on Machine Learning: A Comprehensive Analysis for Text Categorization Approaches. (2025). The Asian Bulletin of Big Data Management , 5(4), 259-291. https://doi.org/10.62019/x6sz1d43

Most read articles by the same author(s)

1 2 > >>