A web-based drill app for mastering Czech noun declensions — all seven cases, singular and plural, with immediate feedback and adaptive difficulty.
"Skloňuj" is the Czech imperative for "decline (a noun)." In other words, "decline it!".
Declension data is generated by MorphoDiTa, a morphological analyzer built on the MorfFlex CZ 2.1 dictionary, developed at the Institute of Formal and Applied Linguistics (UFAL), Faculty of Mathematics and Physics, Charles University, Prague.
English translations are sourced from Wiktionary via kaikki.org.
For full citations and licensing details, see DATA_SOURCES.md.
pnpm install
pnpm dev
To run type checks and linting:
pnpm check
pnpm lint
To format the codebase:
pnpm format
New words are added through a CLI pipeline that fetches declension data from MorphoDiTa and translations from Wiktionary:
python3 scripts/add-word.py <lemma> [<lemma> ...]
For each lemma, the script resolves the MorphoDiTa lemma ID, generates all inflected forms, fetches an English translation, auto-detects the paradigm, and prompts for confirmation before appending to scripts/starter_lemmas.txt and scripts/starter_nouns_meta.csv.
After adding words, rebuild the word bank:
python3 scripts/build_word_bank_morphodita.py
This outputs the final src/lib/data/word_bank.json consumed by the app. To rebuild the full lookup dictionary (all 18,000+ nouns), run:
python3 scripts/build-dictionary.py
This project is licensed under CC BY-NC-SA 4.0. See DATA_SOURCES.md for upstream data licenses.