Handle the very famous decoding - encoding errors in Python !
Project description
Python package for cleaning text, Handle Decoding and Encoding errors for all formats.
Usage
Place bad text in a file and read it in python source and clean it using textclean.clean() function.
test.py
from textclean.textclean import textclean
text = open(“badtext.txt”).read()
cleaned_text = textclean.clean(text)
print cleaned_text
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
textclean-0.4.zip
(11.3 kB
view hashes)