A Dutch vocabulary trainer for the words you actually meet. You add them yourself, an LLM fills in the grammar, and every answer is typed and graded, with the reason when it’s wrong.
Most vocabulary apps give you a course and a multiple-choice question. Woordje does the opposite. You type in the words you run into at work, in a letter or in class, and practise producing them: recall the Dutch from the meaning, put it into a sentence, build the sentence in the right order, pick de or het. A model reads each typed answer and says what was wrong with it.
I built it to learn three things properly, in one product with real users:
The library is the centre of it: every word with its article, its translation in two languages, a part-of-speech tag and five dots that fill up as you get it right. Five clean greens in a row and the word is mastered.

Most practice happens on a phone, so the app installs to the home screen and can send one reminder a day on days without practice. Nothing else is pushed.
Words can be sorted into groups (a book chapter, a week of lessons), and practice can be limited to them. A flashcard file from another app imports in batches, skipping words the learner already has before any model is called.

You can type any form you came across. Here the learner typed liep, a past tense. The model works out the dictionary form, lopen, and fills in the conjugation, a plain-Dutch meaning with its translation, an example and a note on why the verb is irregular.
If lopen were already in the list, it would say so instead of adding a second copy. A word with two readings, like schort (an apron, or “suspends”), offers the other one to switch to.



Anyone can look a word up or take the vocabulary test without an account. Each word page shows the article, forms, pronunciation and real example sentences, and offers to add the word to your list. The test samples 24 words from five frequency bands, takes typed answers in 17 languages and estimates how many of the 10,000 most common words you know.



One FastAPI app in Docker Compose on a small Hetzner server, behind Caddy. Data is one SQLite file on a mounted volume. Public pages are rendered on the server with Jinja; the app itself is a single HTML page with Alpine.js, vendored and pinned, and a Tailwind stylesheet built ahead of time. Every model call goes through one module, llm.py.
google-genai, JSON output, a thinking level per prompt; Ollama as a local fallbackAdding a word is one structured call: lemma, part of speech, article, forms, translations, a meaning in simple Dutch, an example and any other readings. The answer is validated before anything is stored: a part of speech outside the allow-list is dropped, a learner’s note in brackets never becomes part of the word, an article is only kept on a noun.
Articles needed more than that. The model gets one wrong now and then, and a learner who drills the wrong article for a month has learned something false. So every noun is checked against 34,203 Dutch nouns from Wiktionary. When the two agree, or the model left a gap, that’s the answer. When they disagree, one more short call decides, and the majority of the three wins, because Wiktionary is wrong too: it has het slimmerik. Nouns that take both articles, 734 of them, are never changed.
The same checks repair old data. A script reviews a library in a dry run: dictionary fixes first, then the model judges each saved translation and replaces only one that is wrong or garbled, so a learner’s own wording survives. The kind of thing it catches: a body part saved as a tool, an idiom translated word for word, Russian with English letters mixed in. Nothing is written until a person has read the report, and the database is backed up first.
A fill-in-the-blank exercise takes two model calls. The first writes a natural sentence for the word with a blank, the expected form and translations. That output is checked by code before a learner sees it: there must be a blank, at least one translation, and a separable verb must not be split where Dutch keeps it whole. That last check came from a real bug, “niet langer ___ stellen” for uitstellen; the generator now retries instead. The second call grades the typed answer and explains it.
Everything a learner types reaches a prompt only through one function that trims it, strips control characters and quotes it, and the prompt opens with an instruction to treat quoted text as data. Mastery is plain arithmetic: five clean greens in a row, with yellow for a hint.
Gemini can “think” before it answers. Thinking costs output tokens and seconds, and for most prompts here it buys nothing. To choose, I wrote an eval: fixed cases for each of the app’s prompts, each with an expected verdict, run through the production prompt code with thinking on, off or capped. It reports accuracy, JSON failures, latency and cost in euros.
The result on Gemini 2.5 Flash, 30 October 2026: writing sentences and grading answers need thinking, the rest don’t. Off, those were as accurate and two to eight times faster.
The app moved to Gemini 3.5 Flash-Lite in November. Gemini 3 models take a thinking level rather than a token budget, so the eval ran again with the levels. Minimal matched medium on every prompt but conjugation grading, and high added nothing over medium:
| Prompt (3.5 Flash-Lite, 3 Nov 2026) | Minimal | Medium | High | Used |
|---|---|---|---|---|
| Analyse a word (30 cases) | 100%, 1.4 s | 100%, 3.6 s | - | minimal |
| Write a sentence (16) | 100%, 1.0 s | 100%, 2.3 s | - | medium |
| Grade conjugation (26) | 96%, 0.9 s | 100%, 1.9 s | 100%, 2.4 s | medium |
| Grade fill-blank (25) | 96%, 0.9 s | 96%, 1.9 s | 96%, 2.5 s | medium |
| Grade plural (20) | 100%, 0.9 s | 100%, 2.2 s | 100%, 2.7 s | medium |
| Translate (20) | 100%, 1.0 s | 100%, 1.6 s | - | minimal |
Two honest gaps. Sentence writing still runs at medium, carried over from the 2.5 result, though this eval says minimal would do, twice as fast and at a fifth of the cost. And one fill-blank case fails on every model and level: in “Het is een ___ dag”, the grader accepts mooi where Dutch needs mooie. The sets are small, so one case moves a score by four points.
Google renders JavaScript only on a delayed second pass, and most AI assistants’ crawlers never run it. So everything meant to be found is plain HTML from the server: the landing page, 2,293 word pages, 1,113 de/het pages, an FAQ, the vocabulary test, a sitemap and an llms.txt, both generated from one page registry so a new page can’t be forgotten in either.
/. When the landing page was the app, it weighed 295 KB and crawlers read the admin markup; as its own page it’s 19 KB.Each of these rules has a test that fails if it regresses:
Deploys are a push to main: tests in GitHub Actions, then the server resets to the new commit and rebuilds. Reset rather than pull, so a rewritten history can never wedge a deploy.
From the evals and the live system, snapshot of 26 November 2026. Costs are at paid Gemini prices in euros.
| Measure | Result | Note |
|---|---|---|
| Word analysis right | 100% | lemma, part of speech, article and form, 30 cases; 1.5 s median |
| Generated sentences usable | 100% | 16 cases on 3.5 Flash-Lite; 94% on 2.5 Flash with thinking |
| Grading agrees with the expected verdict | 96 to 100% | conjugation 96 to 100%, plural 100%, free sentence 100% |
| Fill-blank grading | 96% | 24 of 25; the miss accepts a wrong form (see 06) |
| Cost of one added word | €0.0013 | one analysis call, median; a tie-break adds a fraction of that |
| Cost of one graded exercise | €0.001 to €0.002 | sentence and grade, with thinking where it helps |
| Importing a flashcard file | €0.0032 per card | measured on a real import; estimated at €0.005 up front |
| Tests | 750+ | must pass before any deploy |
Learners pay for what they use: each AI call is priced from its token counts at what Google charges and taken from a prepaid balance, so the costs above are also what a learner pays.
The old translation prompt gave "adjective|verb" as its example of combined tags, and the model copied it, onto nouns too. Fix: no copyable example, an allow-list of tags, and a repair script for what was already stored.
When the site moved to its new domain, sessions were carried over with #s=<token>. A token in a link can be planted by anyone, which makes it session fixation. Fix: the handoff was removed; people on the old domain sign in again.
Removing the old domain’s DNS record but leaving its block in Caddy made Caddy retry certificate issuance every six hours, 1,681 log lines in a month, until the Let’s Encrypt account was pushed to staging. Fix, and the rule since: DNS first, proxy config second.
The first dictionary check let Wiktionary override the model outright, and it would have written het slimmerik into a library. Fix: a vote, with a third call only when the two disagree.
Learners have asked to hear their words. The plan: one audio clip per word, generated once and shared by everyone who has that word, created when a word is added and backfilled for existing lists and the public pages. Pricing is checked and small; the first step is a listening test of Dutch voices on the hard cases, ui, ij, the Dutch g and very short words.
And the de/het pages list only the het nouns no rule predicts. The de nouns without a rule get their pages next, because people search for those too.