Skip to content

๐Ÿ›€ Cleanliness does (very) basic cleaning of text.

License

Notifications You must be signed in to change notification settings

sorenlind/cleanliness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›€ 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

Install using from PyPI as follows:

pip install cleanliness

Alternatively, you can download the source from GitHub, then install using pip (from the repo directory):

pip install -e .

Usage

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

About

๐Ÿ›€ Cleanliness does (very) basic cleaning of text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages