Skip to main content

Basic cleaning of text

Project description

# 🛀 Cleanliness

Cleanliness is a package for doing (very) basic cleaning of text. It can be used for preprocessing input to various natural language processing tasks.

## Install

Download the source from GitHub, then install using pip (from the repo directory):

`python pip3 install -e . `

## Usage

`python from cleanliness import normalize_whitespace clean_text = normalize_whitespace("This\ntext\t\contains  odd\n\t whitespace.") `

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cleanliness, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size cleanliness-0.1.0-py2.py3-none-any.whl (3.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size cleanliness-0.1.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page