Litcius/Paper detail

TextCL: A Python package for NLP preprocessing tasks

Alina Petukhova, Nuno Fachada

2022SoftwareX17 citationsDOIOpen Access PDF

Abstract

Preprocessing text data sets for use in Natural Language Processing tasks is usually a time-consuming and expensive effort. Text data, normally obtained from sources such as, but not limited to, web scraping, scanned documents or PDF files, is typically unstructured and prone to artifacts and other types of noise. The goal of the TextCL package is to simplify this process by providing multiple methods suited for text data preprocessing. It includes functionality for splitting texts into sentences, filtering sentences by language, perplexity filtering, and removing duplicate sentences. Another functionality offered by the TextCL package is the outlier detection module, which allows to identify and filter out texts that are different from the main topic distribution of the data set. This method allows selecting one of several unsupervised outlier detection algorithms, such as TONMF (block coordinate descent framework), RPCA (robust principal component analysis), or SVD (singular value decomposition) and apply it to the text data.

Topics & Concepts

Python (programming language)Computer sciencePreprocessorNatural language processingArtificial intelligenceProgramming languageLemmatisationR packageNatural Language Processing TechniquesTopic ModelingComputational Physics and Python Applications
TextCL: A Python package for NLP preprocessing tasks | Litcius