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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
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 |
Close
Hashes for cleanliness-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c29a268a60dccd38c1c78a403a8268422317d71368d88f0ba9c01ce3d02ca71 |
|
MD5 | 8c07a8baa19d46d0aa9bf7442f0192ea |
|
BLAKE2-256 | f2c67dc5853043ccb1f6c6aaf3c1261037587e87e698e87c89259facda20d76b |