Python Framework for NLP Cleaning

nlp-text-preprocessing
Documentation

A production-grade, modular Python library designed to streamline text cleaning, feature extraction, linguistic analysis, and validation. 100% crash-proof when running over Pandas DataFrames.

60+ Functions
1-Line Pipeline Engine
100% DataFrame Safe
PePy Analytics →

Installation Guide

Choose your operating system to see the recommended installation steps. We highly recommend using a virtual environment to prevent dependency conflicts.

Windows PowerShell
python -m venv venv
.\\venv\\Scripts\\activate
pip install nlp-text-preprocessing

Recommended for Windows PowerShell.

Key Features

Everything you need to build robust NLP preprocessing pipelines — from simple cleaning to advanced linguistic analysis.

Crash-Proof Pipeline

Automatic None/NaN input sanitation across all functions. Safely processes huge Pandas DataFrames without failing on dirty or null rows.

DataFrame Safe

Automation Engine

Chain cleaning steps by name or custom functions via Pipeline(['to_lower_case', 'remove_urls', 'lemmatize']) — no boilerplate needed.

1-Line Pipelines

Fast & Lazy Caching

Efficient lazy-loading for spaCy (en_core_web_sm) and cached NaiveBayes sentiment analyzers to save memory and reduce startup time.

60+ Functions