Paper Reading AI Learner

Investigating Large Language Models' Linguistic Abilities for Text Preprocessing

2025-10-13 14:53:44
Marco Braga, Gian Carlo Milanese, Gabriella Pasi

Abstract

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 $F_1$ measure compared to traditional techniques. Our code, prompts, and results are publicly available at this https URL.

Abstract (translated)

文本预处理是自然语言处理中的一个基本组成部分,涉及诸如停用词去除、词干提取和词形还原等技术,以准备作为进一步处理和分析输入的文本。尽管上述技术具有上下文依赖性,传统方法通常会忽略上下文信息。在本文中,我们探讨了使用大型语言模型(LLM)执行各种预处理任务的想法,因为它们能够在不需大量特定语言注释资源的情况下考虑到上下文。通过在六种欧洲语言的多个文本分类任务上的网络数据进行全面评估,我们将基于LLM的预处理(特别是停用词去除、词形还原和词干提取)与传统算法进行了比较。我们的分析表明,LLMs能够以高达97%、82%和74%的准确率复制传统的停用词去除、词形还原和词干提取方法。此外,我们还展示了在使用LLM预处理文本上进行训练的机器学习算法,在$F_1$度量方面相比传统技术提高了最多6%。 我们的代码、提示以及结果可在以下网址公开获取:[此链接](https://example.com)(请注意实际发表时请替换为正确的URL)。

URL

https://arxiv.org/abs/2510.11482

PDF

https://arxiv.org/pdf/2510.11482.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot