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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file lab-text-processing-0.2.0.tar.gz.

File metadata

  • Download URL: lab-text-processing-0.2.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for lab-text-processing-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d8a698a1e80adf332ebf13c2b355bd6d08a9079403e914a4f541d1f2a97355ca
MD5 805d0b686b181726e92788ed4d472dc2
BLAKE2b-256 8800be95b433013f45ea6e169ea53705617090e7caf11d8fcdc6743029fbeddd

See more details on using hashes here.

File details

Details for the file lab_text_processing-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: lab_text_processing-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for lab_text_processing-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f29a51cd14ba6398b368bd79b2a50d06f62e5be4958a0ea69bc3bdd0a4fdb67
MD5 fa25b3d470bb4a2aa2194c85518f6c9a
BLAKE2b-256 024f84e5f342d6a296d09f7df54fdfda9d8fe0c018b485e8896f8b40d1564516

See more details on using hashes here.

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