Skip to main content

Learning about Natural Language Tool Kit (NLTK) from tests

Project description

<div id=”table-of-contents”> <h2>Table of Contents</h2> <div id=”text-table-of-contents”> <ul> <li><a href=”#sec-1”>1. Check Test</a></li> <li><a href=”#sec-2”>2. Pypi</a></li> </ul> </div> </div>

Learning about Natural Language Tool Kit (NLTK) from tests

A first version can be found in: <>

Thanks to GAPLEN by the shared time.

Learning NLTK from Tests by David Arroyo Menéndez

# Check Test<a id=”sec-1” name=”sec-1”></a>

  • Execute all tests:

    $ nosetests3 tests

  • Execute one file:

    $ nosetests3 tests/

  • Execute one test:

    nosetests3 test/

# Pypi<a id=”sec-2” name=”sec-2”></a>

  • To install from local:

$ pip install -e .

  • To install create tar.gz in dist directory:

$ python3 register sdist

  • To upload to pypi:

$ twine upload dist/damenltk-0.1.tar.gz

  • You can install from Internet in a python virtual environment to check:

$ python3 -m venv /tmp/dn $ cd /tmp/dn $ source bin/activate $ pip3 install damenltk

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

damenltk-0.1.6.post5.tar.gz (26.4 kB view hashes)

Uploaded source

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