Skip to main content

Clean and prepare text for modeling with machine learning

Project description

Nlpcleaner

Clean and prepare text for modeling with machine learning.

  • lower all
  • strip all
  • remove numbers
  • remove symbols
  • remove stopwords by detected language
  • lemming or stemming

Usage

from nlpcleaner import Text
Text(txt).clean()

Tests

pip install .
python setup.py test

Push on PyPi

python setup.py sdist
pip install twine
twine upload dist/*

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

nlpcleaner-0.1.7.tar.gz (18.3 MB view hashes)

Uploaded Source

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