Skip to main content

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

Release files for textify 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for textify 0.0.1
File Size Uploaded
textify-0.0.1.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for textify 0.0.1
File Interpreter ABI Platform
textify-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size:6.9 kB

Release files / textify-0.0.1.tar.gz

Download URL textify-0.0.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d5d4ddb1a11f8518289066fdedc05926579934205724b4c75acd51e0342cae20
BLAKE2b-256 checksum
How to use checksums
7075d14a01c53ba91b7e5e9e433ccc25f56e8b42ec0c6fb14bf55e4005e8dc78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-37-generic

Release files / textify-0.0.1-py3-none-any.whl

Download URL textify-0.0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b6acb61da6a92c5226ad4e2627c3d3219f60863532dcb260bc8c0ef797908cc
BLAKE2b-256 checksum
How to use checksums
6233f1c107987df5fda1f2f6d28039f0d5dca3e800b60621051aeeaf8a91c8ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-37-generic

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page