Skip to main content

Functions to text processing

Project description

Lab Text Processing

LabHacker's Toolbox to Text Processing

Install

pip install lab-text-processing

Usage

First of all you need to install all mandatory nltk data:

from lab_text_processing.nltk import download_modules
download_modules()
from lab_text_processing.pre_processing import bow
bow, stem_reference = bow.('Texto que será transformado em uma Bag-of-Words',
                           extra_stopwords=('lista', 'de', 'stopwords', 'adicionais'))

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

lab-text-processing-0.2.0.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

lab_text_processing-0.2.0-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 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