Best Preprocessing Techniques for Sentiment Analysis

Saranzaya Magsarjav, Melissa Humphries, Jonathan Tuke, Lewis Mitchell
6/23/2026
cs.CL

No official code found. Best implementation: Deffro/text-preprocessing-techniques (230 stars, last commit 2019-04-16).

Abstract

Sentiment analysis in Twitter datasets is important because it enables monitoring public opinion on products and analysis of political and social movements. One critical step is preprocessing: the automated processing of text for machine learning algorithms. Preprocessing plays a critical role in reducing noise and improving efficiency. However, little research has systematically examined the order in which preprocessing techniques are implemented. We find that, when accounting for order, spelling correction is the least impactful preprocessing technique, whereas tokenisation is the most impactful. Stemming and stop-word removal are interchangeable, and it is better to remove stop words without removing negation. The best order for applying the preprocessing techniques was tokenisation, text cleaning, stemming, and then stopword removal. Our results provide a systematic approach for practitioners to deploy preprocessing to improve model output without the costly preprocessing exploratory phase.

View on arXivView PDF

Code Implementations(1)

16 Text Preprocessing Techniques in Python for Twitter Sentiment Analysis.

23083Nov 11, 20177 years ago
data-sciencepreprocessingpythonsentiment-analysistwitter

Similar Papers

Cite this paper

@article{magsarjav2026best,
  title  = {Best Preprocessing Techniques for Sentiment Analysis},
  author = {Saranzaya Magsarjav and Melissa Humphries and Jonathan Tuke and Lewis Mitchell},
  year   = {2026},
  eprint = {2606.24055},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.24055v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.24055.svg)](https://codeofpaper.com/paper/2606.24055)

Discussion