Skip to main content

nlpkit14

pip install --upgrade nlpkit14
import nlpkit14 as n
n.q1()  # Replaces this notebook cell with the full question and code

In Jupyter, run the cell containing n.q1() once to fill that same cell with editable code. Run the filled cell again to execute it. All n.q1() through n.q14() work this way. The question and expected output are comments above the program. In a plain Python shell, question functions execute directly.

Version 0.3.4 includes the Python dependencies for all fourteen exercises in its installation requirements. Each question prepares its missing NLTK data, spaCy model or Benepar model automatically before running. BERT downloads its pretrained files on first use and reuses the normal Hugging Face cache. No setup() call or manual model-extra installation is required.

Question titles, reference outputs and explanations remain comments in the bundled source, accessible using n.source(1). Questions print real computed output. Use n.questions() to list all fourteen.

Installation and first use require internet, a writable Python environment, sufficient disk space and supported dependency wheels. Large models take time to download. Existing data and models are reused. q8 always requires internet to fetch a live website. Most other questions work offline after preparation. For offline installation, transfer matching dependency/model wheels and all model/data caches in advance.

After upgrading in Jupyter, restart the kernel so it loads the new code. Print n.version to confirm 0.3.4. An already-running notebook can retain an older version even after pip succeeds.

This release is prepared locally until uploaded to PyPI. Large-model exercises and the entire dependency installation have not been tested across every platform. Model outputs may vary. See TEST_RESULTS.md.

Exact document code

All fourteen program bodies in version 0.3.4 match the supplied document code character for character after removing only leading/trailing blank lines. The question and reference output are added as comments. No helper imports, preparation calls, model.eval(), HTTP checks or algorithm corrections are inserted into the editable program. The library prepares required resources before inserting the original code into the notebook cell. Original download statements remain intact. Model outputs can vary because the original code is preserved, including its original training/evaluation choices.

Metadata

Release files for nlpkit14 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nlpkit14 0.3.4
File Size Uploaded Provenance
nlpkit14-0.3.4.tar.gz 17.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nlpkit14 0.3.4
File Interpreter ABI Platform
nlpkit14-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 31.7 kB

Release files / nlpkit14-0.3.4.tar.gz

Download URL nlpkit14-0.3.4.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b079d0932c4942e0749c1ad7a4fe2c72b5b86b28f0a83e3501168abd54fa9e80
BLAKE2b-256 checksum
How to use checksums
36526e7b723c3ff58ae9b7eac50cb2fabdf2a5b42ea68fc1421327a098b51e3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / nlpkit14-0.3.4-py3-none-any.whl

Download URL nlpkit14-0.3.4-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1899281d5ef1ee58962f8aee9be8f41a533274ed17ea2503e6fdbea39ba87ba
BLAKE2b-256 checksum
How to use checksums
f9fac8f16eebd71b6cbd203600d2f427d08a5e07feecde2f1ab39946c87907d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for nlpkit14 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page