A small collection of browser-based, interactive explainers for core Natural Language Processing concepts. No installation, no dependencies — every page is plain HTML/CSS/vanilla JavaScript.
A landing hub (index.html) links to three "modules":
| Module | Folder | Covers |
|---|---|---|
| Tokenisers | tokeniser/ |
BPE, WordPiece, SentencePiece, rule-based baselines |
| LMs | lm/ |
bag-of-words, n-grams, Word2Vec, Transformer |
| Evaluation | evaluation/ |
Precision / Recall / F1, Perplexity, BLEU, ROUGE, LLM-as-judge |
nlpcourse/
├── index.html # landing hub (links to the three modules)
├── images/ # shared favicon
├── tokeniser/ # Tokenisers
├── lm/ # LMs
└── evaluation/ # Evaluation
Open index.html in any modern browser, or serve the folder statically
(e.g. python3 -m http.server) and visit it. Everything is client-side.
Built by Wei Zhao, Stanley Okonkwo, and Aleksi Peltonen. Copyright 2026.