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 py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page