Skip to main content

A Simple Text Cleaning Package For cleaning text during NLP

Project description

textify

A Simple Text Cleaning and Normalization Package For NLP

Installation

pip install textify

Usage

Clean Text

  • Clean text by removing emails,numbers,etc
>>> from textify import TextCleaner
>>> docx = TextCleaner()
>>> docx.text = "your text goes here"
>>> docx.clean_text()

Remove Emails,Numbers,Phone Numbers

>>> docx.remove_emails()
>>> docx.remove_numbers()
>>> docx.remove_phone_numbers()

Remove Special Characters

>>> docx.remove_special_characters()

Replace Emails,Numbers,Phone Numbers

>>> docx.replace_emails()
>>> docx.replace_numbers()
>>> docx.replace_phone_numbers()

Using TextExtractor

  • To Extract emails,phone numbers,numbers from text
>>> from textify import TextExtractor
>>> docx = TextExtractor()
>>> docx.text = "your text with example@gmail.com goes here"
>>> docx.extract_emails()

By

  • Jesse E.Agbe(JCharis)
  • Jesus Saves @JCharisTech

NB

  • Contributions Are Welcomed
  • Notice a bug, please let us know.
  • Thanks A lot

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

textify-0.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

textify-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file textify-0.0.1.tar.gz.

File metadata

  • Download URL: textify-0.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-37-generic

File hashes

Hashes for textify-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d5d4ddb1a11f8518289066fdedc05926579934205724b4c75acd51e0342cae20
MD5 005d3fde6007946df2fc9e5a6c1038b2
BLAKE2b-256 7075d14a01c53ba91b7e5e9e433ccc25f56e8b42ec0c6fb14bf55e4005e8dc78

See more details on using hashes here.

File details

Details for the file textify-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: textify-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-37-generic

File hashes

Hashes for textify-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b6acb61da6a92c5226ad4e2627c3d3219f60863532dcb260bc8c0ef797908cc
MD5 6d0f5b52b36d9766f4e815f8ed612c4b
BLAKE2b-256 6233f1c107987df5fda1f2f6d28039f0d5dca3e800b60621051aeeaf8a91c8ac

See more details on using hashes here.

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