Skip to main content

cleaning text from noise for nlp tasks

Project description

cleantxt

cleaning text from noise for nlp tasks

installation

with pip

pip install cleantxt

install from source

git clone https://github.com/jemiaymen/cleantxt.git

go to the cleantxt directory

cd cleantxt

install with pip

pip install .

usage

import text module

from cleantxt import text

clean text

txt = text.clean_text('mella khaaaaaarya hadddddda mta3 @rassssssssssse la@__mbbbbbbouuutt tfih')

print the result

mella kharya hada mta3 rase lambout tfih

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

cleantxt-0.0.3.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

cleantxt-0.0.3-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

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