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.

Files for lab-text-processing, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size lab_text_processing-0.2.0-py2.py3-none-any.whl (4.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size lab-text-processing-0.2.0.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page