pdacek
NLP lab experiments toolkit for Jupyter Notebooks, Google Colab, and standard terminal environments.
Installation
pip install --upgrade pdacek
Quick Start
In Jupyter / Google Colab (replaces cell with editable experiment code, just like plnlab):
import pdacek
pdacek.p1() # Loads Program 1 into the notebook cell
pdacek.p2() # Loads Program 2
pdacek.p3() # Loads Program 3
pdacek.p4() # Loads Program 4
pdacek.p5() # Loads Program 5
You can also run or inspect directly from Python or CLI:
import pdacek
# Run directly
pdacek.run(1)
# Inspect source code string
print(pdacek.source(1))
# Or print via repr
print(pdacek.p1)
Included Programs
- Program 01: Text Preprocessing (Tokenization, Regex Filtration, Script Validation, Stopword Removal, Porter Stemming)
- Program 02: N-gram Probabilities (Unigram, Bigram, Trigram frequency and conditional probabilities)
- Program 03: Minimum Edit Distance (Dynamic programming table & alignment)
- Program 04: Syntactic Parsing (Bottom-Up Shift-Reduce and Top-Down parser structure)
- Program 05: Naive Bayes Text Classification (Add-1 Laplace smoothing)
Metadata
Release files for pdacek 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdacek-0.2.0.tar.gz | 7.7 kB | Without provenance | Details for pdacek-0.2.0.tar.gz |
Release files / pdacek-0.2.0.tar.gz
| Download URL | pdacek-0.2.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f40d12bed227bc48859a7dcfd2d909f71c453ce0313c0c80164b98dc57e4eb0e
|
|
BLAKE2b-256 checksum How to use checksums |
08ebaa84a8c27b7dd9b0fa7fc637cfe8fa13d426846973851694ebc9e498b8b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for pdacek 0.2.0
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.