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
Built Distribution
Close
Hashes for lab-text-processing-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92039aee8974543304326a03be4b5977f10fd71c829738638776ab6d8bde4350 |
|
MD5 | 067fa1cc4717dc9e31c88e7352727a57 |
|
BLAKE2b-256 | c419550abcc364db050c2e5cb00f6066b6b9b79fe9fa97aa5913cb63f8ea2c27 |
Close
Hashes for lab_text_processing-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23fee3cb08b1224e22984c889adc06ddf79b7f88588e1493911aa423f7f6eb21 |
|
MD5 | a318301c5d2dbc6582c2b8712c54e718 |
|
BLAKE2b-256 | 2a28b460c8954eb62c4db8388e75d947e3af010c392c85bc090b7f45c5c506ba |