Learning about Natural Language Tool Kit (NLTK) from tests by David Arroyo Menéndez'
Project description
Table of Contents
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 book (https://www.nltk.org/book) 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
-
Execute one test:
$ pytest test/test_wordnet.py::TddInPythonExample::test_lemmatizer
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
Release history Release notifications | RSS feed
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.2.tar.gz
(53.8 kB
view details)
File details
Details for the file damenltk-0.2.tar.gz.
File metadata
- Download URL: damenltk-0.2.tar.gz
- Upload date:
- Size: 53.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bef3d23f98aa954391be2d6bcd76a1392e70e969856884770f475446e6a41fa4
|
|
| MD5 |
c402b9dbe97a764651b394e525ec99db
|
|
| BLAKE2b-256 |
4fb5b8a06bf3da9e605b36d6254f6fac7b1a814966a612a10ccea41a15a0799a
|