mlsanityData to 7 Oct 2026

Investigating Large Language Models' Linguistic Abilities for Text Preprocessing

arXiv 2510.11482 ↗First posted 13 Oct 2025cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Text preprocessing is a fundamental component of Natural Language Processing, involving techniques such as stopword removal, stemming, and lemmatization to prepare text as input for further processing and analysis. Despite the context-dependent nature of the above techniques, traditional methods usually ignore contextual information. In this paper, we investigate the idea of using Large Language Models (LLMs) to perform various preprocessing tasks, due to their ability to take context into account without requiring extensive language-specific annotated resources. Through a comprehensive evaluation on web-sourced data, we compare LLM-based preprocessing (specifically stopword removal, lemmatization and stemming) to traditional algorithms across multiple text classification tasks in six European languages. Our analysis indicates that LLMs are capable of replicating traditional stopword removal, lemmatization, and stemming methods with accuracies reaching 97%, 82%, and 74%, respectively. Additionally, we show that ML algorithms trained on texts preprocessed by LLMs achieve an improvement of up to 6% with respect to the F1 measure compared to traditional techniques. Our code, prompts, and results are publicly available at https://github.com/GianCarloMilanese/llmpipelinewi-iat.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 45 references that are in the map. First posted on arXiv 13 Oct 2025.

Builds on

21 of 45 references.

References · 21

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  4. 2024Qwen2 Technical Reportcited by 2,076
  5. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
  6. 2025Gemma 3 Technical Reportcited by 1,686
  7. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
  8. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
  9. 2024Phi-4 Technical Reportcited by 675
  10. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
  11. 2019SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)cited by 206
  12. 2022Large Language Models are Few-Shot Clinical Information Extractorscited by 206
9 more
  1. 2021XLM-T: Multilingual Language Models in Twitter for Sentiment Analysis and Beyondcited by 114
  2. 2019SemEval-2013 Task 2: Sentiment Analysis in Twittercited by 22
  3. 2024Zero-shot Generative Large Language Models for Systematic Review Screening Automationcited by 14
  4. 2018LemmaTag: Jointly Tagging and Lemmatizing for Morphologically-Rich Languages with BRNNscited by 8
  5. 2024Synthetic Data Generation with Large Language Models for Personalized Community Question Answeringcited by 8
  6. 2023SE-PQA: Personalized Community Question Answeringcited by 7
  7. 2024Joint Lemmatization and Morphological Tagging with LEMMINGcited by 6
  8. 2025Investigating Task Arithmetic for Zero-Shot Information Retrievalcited by 4
  9. 2023On the Role of Morphological Information for Contextual Lemmatizationcited by 3

Built on by

Not cited yet.