Skip to main content

Learning about Natural Language Tool Kit (NLTK) from tests by David Arroyo Menéndez'

Project description

Table of Contents

  1. Installing
  2. Check Test
  3. Pypi

Learning about Natural Language Tool Kit (NLTK) from tests

A first version can be found in: https://github.com/Lingwars/GAPLEN

Thanks to GAPLEN by the shared time.

Learning NLTK from Tests by David Arroyo Menéndez

Installing

$ pip3 intall damenltk
$ python3 damenltk/installing-nltk-modules.py

Check Test

  • Execute all tests:

    $ nosetests3 tests

  • Execute one file:

    $ nosetests3 tests/test_basics.py

  • Execute one test:

    nosetests3 test/test_syn.py:TddInPythonExample.test_syn_returns_correct_result

Pypi

  • To install from local:

$ pip install -e .

  • To install create tar.gz in dist directory:

$ python3 -m build

  • 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.8.tar.gz (53.7 kB view details)

Uploaded Source

File details

Details for the file damenltk-0.1.8.tar.gz.

File metadata

  • Download URL: damenltk-0.1.8.tar.gz
  • Upload date:
  • Size: 53.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for damenltk-0.1.8.tar.gz
Algorithm Hash digest
SHA256 4746bd7de9d26c43f4df1ce39430c70a2305d0cf6c2565ff347b2d32c423f0f1
MD5 0ffea6ab0ea0cb9917161cd00efc9e91
BLAKE2b-256 e32a23c7c842e84161bb16fb299acd41821bdf752fcded84a6ccc66392763110

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page