NobleBlocks

Research indexJournal article

Text-Based Sentiment Analysis Using Natural Language Processing

Dibie

International Journal of Computer Science and Mathematical Theory20 Nov 2026

NobleIDark:/48914/w1/20261120/454BF5F8DOI10.56201/ijcsmt.vol.12.no11.2026.pg14.21

Paywalled

The full text is at the publisher

You can read the abstract here, or open it at the publisher.

Read at the publisher

Abstract

Sentiment analysis, a vital application of Natural Language Processing (NLP), enables the extraction and classification of emotions from textual data, offering valuable insights across domains like business intelligence and social media monitoring. This study aimed to develop an enhanced text-based sentiment analysis model to accurately classify sentiments in diverse English-language textual data, such as social media posts, while addressing challenges like linguistic nuances and context dependency. Using the Sentiment140 dataset, the methodology involved data preprocessing (text normalization, tokenization, lemmatization), feature engineering with TF-IDF, and training a Support Vector Machine (SVM) model as a baseline, with potential for advanced models like bidirectional GRUs or transformers. The system was deployed as a web application with a Flask backend and React frontend, allowing users to input text and receive real-time sentiment predictions with confidence scores. The SVM model achieved an accuracy of 75% and an F1-score of 74% on a test set of 2,000 samples, demonstrating its effectiveness for binary sentiment classification (positive/negative). However, the model struggled with nuanced sentiments like sarcasm, highlighting the need for advanced contextual models. The study contributes to NLP by providing a practical, scalable sentiment analysis solution, with implications for real-time social media monitoring and customer feedback analysis, while identifying future directions for incorporating transformer based models and data augmentation to enhance performance.

Discussion

More

Suggest a correction or report