Skip to main content

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


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page