Skip to content

Repository files navigation

Verbodrome

Vervoegingen oefenen, op het tempo van jouw graad, voor Vlaamse scholen. Two parts in one npm workspace:

Path What
packages/conjugation-engine Standalone rule-based conjugation engine (TypeScript, browser-safe ESM, CLI). No UI, no exercise logic. Any app can depend on it.
apps/verbodrome The trainer: a static single-page site built on conjugation-engine. Dutch prompt, answers in the language the pupil is learning, picker for language, verbs and tenses per school level.

conjugation-engine conjugates French, Dutch, German, English, Spanish, Italian and Latin by rule: every form is derived from a lexicon, endings and spelling rules, explains itself step by step in English and Dutch with the source of each rule, and works for invented verbs, reporting what it assumed. It is checked against reference conjugation tables, corrected before publication against cited grammars and dictionaries. See its README.

The engine is leading: the app contains no conjugation tables. Languages, verbs, tenses and school levels are configuration in apps/verbodrome/src/config/; the Dutch tense a form is prompted in and the explanation of how it is built come from the engine. A typed answer may use the feminine form where the Dutch prompt leaves the subject's gender open (je suis allée for "ik ben gegaan").

Licence: CC BY-NC 4.0 (LICENSE), except the wiktionary datasets in packages/conjugation-engine/tests/corpus/data/{es,it,la}.json, which are adapted from English Wiktionary under CC BY-SA 4.0 (details).

Getting started

Node 26 or newer.

npm ci
npm run dev        # build the engine, then serve the app locally
npm test           # engine tests, then app tests
npm run typecheck
npm run build      # static site in apps/verbodrome/dist

Hosting

apps/verbodrome/dist is a plain static site with relative paths; it works on any static host and under a sub-path.

.github/workflows/pages.yml deploys it to GitHub Pages on every push to main. One-time setup: repository Settings → Pages → Source: GitHub Actions.

Packages

Contributors

Languages