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 details)
File details
Details for the file textclean-0.4.zip
.
File metadata
- Download URL: textclean-0.4.zip
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
bdd6e5d7853badc16afff5f7512a53dc050cc195c346f7a9e282e98e69880ed3
|
|
MD5 |
6dbe71f613bc49c9fe969b8e7b191e22
|
|
BLAKE2b-256 |
bb9e0b32053f388300c6b63f72e0f583189d45e4a9a05f23b376bc8b5503fcb3
|