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 from git
  2. Check Test
  3. Installing from pypi
  4. Updating the source
    1. To create new tar.gz in dist directory:
    2. To upload to 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 from git

$ git clone https://github.com/davidam/damenltk
$ pip3 install nltk scikit-learn
$ cd damenltk
$ python3 damenltk/installing-nltk-modules.py

Check Test

  • Execute all tests:

    $ ./runtests.sh

  • Execute one file:

    $ pytest test/test_bernoulli.py

Installing from pypi

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

$ python3 -m venv ~/venv_damenltk
$ cd ~/venv_damenltk
$ source bin/activate
$ pip3 install damenltk
$ cd ~/venv_damenltk/lib/python3.14/site-packages/damenltk
$ pytest test/test_bernoulli.py 

Updating the source

To create new tar.gz in dist directory:

$ python3 -m build

To upload to pypi:

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

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.13.post1.tar.gz (52.5 kB view details)

Uploaded Source

File details

Details for the file damenltk-0.1.13.post1.tar.gz.

File metadata

  • Download URL: damenltk-0.1.13.post1.tar.gz
  • Upload date:
  • Size: 52.5 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.13.post1.tar.gz
Algorithm Hash digest
SHA256 9b08755e883845d0edadb948b8ff0be2373dfa12c1cc7a8bd56983671a2e74fe
MD5 8afa80d7494d36ba1178f7b173e6f754
BLAKE2b-256 7a0ecd6f7bbacf2aa3850589449190dbd063de3537496bf434c0422f6efd44ae

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