Writing · Side project

Hardop: Teaching myself to say Dutch out loud

My children speak Dutch as their first language. I needed a coach that hears the difference between huis and "house". How I built one with Claude.

Say huis like the English word "house" and most speaking apps give you a tick. They hear the word you meant, not the word you said. Hardop gives you a score of 40, and tells you how to make the ui.

Three phone screens from Hardop. Left: the home screen, titled Dutch, out loud, with a green Vandaag button and a list of lessons. Middle: the Dutch sentence Ik woon in een klein huis bij de gracht, every word underlined in green except huis in coral, a score of 88 and a tip on the ui sound. Right: a list of Dutch sounds with a score for each, the weakest in coral.
Hardop on a phone. Home, feedback on a sentence, and a score for each sound.

01The problem

I'm English and I live in Alkmaar. My two children's first language is Dutch. It's the language of their school and their friends, and of most of what goes on around our house. My Dutch is around A2. I can read a letter from school and follow most of a conversation. Speaking is where it falls apart.

Dutch has sounds English doesn't have: the ui in huis, the throaty g in goed, the uu in muur. Some of the differences change the meaning. A man is a man, and the maan is the moon. Children who grow up with a language hear every wrong vowel. Adults are kinder: they switch to English. Either way, I don't get the practice.

The apps I'd tried teach words and grammar. You tap the right answer or type the sentence. The few that ask you to speak use speech recognition, and speech recognition is built to work out the word you meant. A bad huis still comes back as "huis", so you get a tick. I was getting better at knowing Dutch, and not much better at saying it.

I wanted something that does what a good teacher does in a lesson. It says a line, I say it back, and it tells me which word was wrong, which sound in that word, and how to fix it. Then it brings that line back in a few days.

02Taking it apart

I described all that to Claude Code, and before writing any of the app we split the problem into its jobs:

Measuring decides whether the idea works at all, so that came first. Claude found that Microsoft's Azure Speech service can do pronunciation assessment in Dutch: it scores each word and each sound from 0 to 100, and flags words that are missing or wrong. It also found two catches in the documentation. Azure doesn't say which sound you made instead for Dutch, only how well you made the right one. And it only rates intonation in English.

So the plan started with half a day of testing, with a clear rule: go ahead only if Azure reliably catches deliberate mistakes.

03Testing the judge

Claude made 19 test clips with computer voices. Some said the words correctly. Some made the mistakes an English speaker makes: huis as "hoes" or as "house", maan as "man", muur as "moer", a sentence with a word left out. Azure caught 11 of the 12 mistakes, and gave the same scores every time we ran it.

ClipWhat Azure said
A Dutch voice reading the words correctly92 to 100
A Flemish voice reading a sentence98. A Belgian accent isn't punished
huis as "hoes" or "house", muur as "moer"Flagged as mispronounced, 32 to 56
maan said as "man"Flagged, 0
zoon said as "zon"Missed
A sentence with huis as "hoes"Every other word fine. Only huis flagged, at 40
An English voice reading Dutch57, with the worst words picked out

Then I recorded 13 lines in my own voice. It found real problems: my ui, my Dutch w, the ch in gracht. It also gave me one false alarm. My man scored 0. The same recording scored 93 when we told Azure the word was maan.

That pointed at the weak spot: short words on their own. Azure needs a little context. So Claude tried putting each word inside a short frame, "Ik zeg ___." ("I say ___."), and only scoring the word in the gap:

A chart of Azure's score for a target word on its own and inside the frame Ik zeg. Said correctly: man goes from 25 to 90, kat from 58 to 90, pen from 21 to 91, lat from 73 to 90, and my own man from 0 to 86, all now above the pass line of 80. Wrong vowel: man scored as maan goes from 0 to 45, maan scored as man from 34 to 51, and lat scored as laat from 40 to 36, all still well below 80.
In the frame, every correct word clears the pass line and every wrong vowel stays well under it. On its own, Azure can't tell them apart.

The frame fixed it. Right words scored high and wrong vowels were caught. It also fixed most of the long and short vowel problem from the first test. So every single word in Hardop is said inside "Ik zeg …", and the frame never counts towards the score.

The last job of the test was a voice. Azure has nine Dutch neural voices. I listened to them all and chose Maarten. "Slowly" is 15% slower. At 30% it stopped sounding like a person.

04Hardop

Hardop means "out loud". It's a web app that works on my phone and my laptop. It's just for me, so a passphrase on the first screen keeps strangers from spending my free Azure allowance.

Every line works the same way. Maarten says it once. I tap Record, say it back and tap again. Moments later every word is underlined: green is good, dotted is OK, coral needs work. Under that comes one score and one tip, not ten. Hardop finds the worst word, then the worst sound in it, and shows a tip for that sound, with a button to hear the word slowly.

A practice screen on a phone. The Dutch sentence Ik woon in een klein huis bij de gracht in large type, the English underneath, buttons for Hear it and Slowly, and a large green Record button.Listen
The same screen after a recording. Every word is underlined in green except huis, in coral. A score of 88 reads: good overall, but fix the coral word to pass. Below, the tip for the ui sound and a button to hear huis slowly.Feedback
Before and after one take. These are Azure's real scores for the test clip with huis said as "hoes".

That picture shows a rule we added while building. The sentence scored 88 overall, and anything over 80 counted as a pass. But one word was clearly wrong, and passing it would teach me nothing. Now a sentence fails if any word is clearly wrong, whatever the total. Paragraphs are allowed one weak word.

Here is the same sentence three more ways, again with Azure's real scores from the test clips: a Dutch voice, an English voice reading the Dutch, and a Dutch voice that leaves out a word.

Feedback for a Dutch voice: every word underlined in green, a score of 98 and the message That's how it should sound.Dutch voice
Feedback for an English voice: woon, huis and gracht in coral, a score of 57, and a tip on the short a in gracht with buttons to hear gracht slowly and the same sound in man.English voice
Feedback for a take that leaves out klein: klein is struck through, a score of 88, and the message You skipped klein. Listen again and say every word.A word left out
98 and a pass. 57, with gracht picked out as the worst word. And 88, failed, because klein is missing.

The tips are written by hand, about 20 of them, one for each sound English speakers miss. The ui tip reads: "There's no English match. Start with the 'u' of 'nut', round your lips hard, and glide towards 'ee'. Not 'ow' as in 'house'." That's fast and free, and the same every time. When a vowel and a consonant score about the same, the tip is about the vowel, because that's usually the real problem.

The lessons follow the places I actually need Dutch. A1 covers introductions, numbers and time, the café, shopping, family and home. A2 covers trains, the doctor, small talk at work, the neighbours, phone calls and the weekend. B1 covers the gemeente, giving an opinion, meetings, complaints, health and saying what happened. That's 18 lessons and 210 lines. Each lesson has four words, five sentences and a short paragraph. Every line's audio is made in advance, so it plays instantly and costs nothing.

The first screen: the title Dutch, out loud, an empty passphrase field and an Open button.Locked
The home screen: a large green Vandaag button with 6 to review, 4 new and a warm-up on ui, a streak line, the three weakest sounds, and the first A1 lessons with their best scores.Home
The end of a lesson: In het café, bijna (almost). 7 of 10 passed, with the best score for each of the ten lines and buttons for the next lesson or to go again.Lesson done
The passphrase screen, home and the end of a lesson. Vandaag (today) is the daily session. A lesson ends with the best score for every line.

05Remembering

A coach that forgets you isn't much of a coach. So Hardop keeps every score and plans what comes back.

Vandaag, the daily session, starting with a warm-up pair: Ik zeg … en …, buik · boek, belly and book, with Hear it, Slowly and Record buttons.Vandaag
A sound drill for ui: the pair huis · hoes, house and cover, with Hear it, Slowly and Record buttons.Drill
The Sounds page, titled Your sounds. A list of Dutch sounds, each with a small trend line and an average score. ui, w and g/ch are in coral at the top.Sounds
Vandaag opens with a warm-up pair on the weakest sound. Drills are pairs of words that differ by one sound. Sounds puts the weakest at the top.

06Checked by Marius

Claude wrote all 210 lines. They read well to me, but I'm the last person who should judge. So Hardop has a review page behind a private link, and I sent it to my friend Marius, a Dutch speaker. He sees every line with its English and audio, and taps Klopt (correct) or Aanpassen (change) with a correction. The corrections are saved, Claude applies them, and the new audio is made when the app rebuilds.

The review page in Dutch. Café lines, each with Klopt and Aanpassen buttons. Kan ik met de kaart betalen? has a correction in coral: Kan ik met PIN betalen? The paragraph below has the same correction and a note: Mag ik pinnen? is the correct way to say it actually.Review
The café lesson after the correction: the sentence Kan ik met pin betalen? with the English Can I pay by card?, Hear it, Slowly and Record buttons.Fixed
A correction on the review page, and the same line in the café lesson a few minutes later, with new audio.

Marius's first corrections were exactly what I'd hoped for. "Kan ik met de kaart betalen?" is understandable Dutch, but nobody says it. You pay met pin, and the note added "Mag ik pinnen?" as the natural way to ask. And a passport is een nieuwe, not een nieuw. So far he has checked 5 of the 210 lines. Bedankt, Marius. Every line you fix is one I won't learn wrong.

11/12deliberate mistakes caught in the first test
210Dutch lines, A1 to B1
30sound pairs
69automated tests

07How the AI teaching works

There are two kinds of AI in Hardop, and they have different jobs. Think of an exam. Azure is the examiner with the mark scheme. Claude is the teacher who reads your marked paper afterwards and tells you what to practise. The teacher never changes the marks.

A diagram in four steps. 01 Listen: Maarten, a Dutch neural voice, reads the line, using Azure text to speech. 02 Measure: your take is scored against the text, every word and every sound from 0 to 100, using Azure pronunciation assessment. 03 Choose: the app finds the worst word, then its worst sound, huis to the ui, using Hardop's own rules. 04 Coach: a hand-written tip for that sound straight away, and for paragraphs and the weekly note, Claude reads the scores. Below: then it remembers, with a review pile and a running average for each sound, synced between phone and laptop.
What happens after you say a line. Only step four involves Claude, and it only ever sees numbers.

Why Azure measures, and not a chatbot. There are AI models that listen to audio directly. They give friendly, natural feedback and can comment on intonation. But they're known not to give the same score twice for the same clip, and to praise mistakes now and then. For a coach, a mark you can trust matters more than a friendly tone. Azure gave the same numbers on every run, so we didn't need to look further.

Why the instant tip is written by hand. After every take you need an answer in a second, and it should be the same answer each time. A fixed tip for each sound does that, and costs nothing.

Where Claude comes in. Claude (Haiku, the fastest model) does two jobs that need judgement across a lot of numbers:

Claude has guardrails. It only sees the scores, never the audio, so it can't make up a mark. Its answers have a word limit. If the call fails, the hand-written tip appears instead, and practice carries on. Each coaching call costs about a hundredth of a cent.

Both are built and tested, but switched off for now. The free tier of the service that connects Hardop to Claude doesn't include Claude models, so the buttons stay hidden until I add some credit.

08What's next

My ui has a number now. The next job is to watch it go up.

Built with Claude Code. Pronunciation scores and the voice of Maarten from Azure AI Speech. Coaching by Claude through the Vercel AI Gateway. Progress stored in Upstash Redis. Hardop is a private tool, so there's no public link. Dutch checked by Marius. Thank you, Marius.