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.3.zip
(11.2 kB
view details)
File details
Details for the file textclean-0.3.zip.
File metadata
- Download URL: textclean-0.3.zip
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6009472943b9ec2d21d9d5a81ea4c600de5a19eee8a3cca19083c4abf6c3da85
|
|
| MD5 |
3679000567b3d108b35373622113fb00
|
|
| BLAKE2b-256 |
c2513abd67346a41af9fffa12d51e68ddb66914e170c047305511a002dd6825b
|