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.
Source Distribution
cleanliness-0.1.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for cleanliness-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c29a268a60dccd38c1c78a403a8268422317d71368d88f0ba9c01ce3d02ca71 |
|
MD5 | 8c07a8baa19d46d0aa9bf7442f0192ea |
|
BLAKE2b-256 | f2c67dc5853043ccb1f6c6aaf3c1261037587e87e698e87c89259facda20d76b |