Case study, prototype

A language app that doesn't trust its own scorer.

Speaking practice for Catalan, Spanish, French, Portuguese and English, with the AI kept away from the things it can't be trusted on.

Sounds screen: rules that give a Spanish speaker away, each with a sound symbol.
Drill screen: the word zero with its pronunciation, a native voice, your try and a microphone.
Dictionary sheet for dona: pronunciation, forms, meanings, and a note that it comes from Wiktionary.

At a glance

The problem

A Spanish speaker can read Catalan quickly and still sound wrong, because the mistakes are in habits nobody corrects. Most apps teach you to tap the right answer.

The app

A short daily session, spoken role-plays, readings where any word opens a dictionary, sound drills and verb tables. Five languages, phone first.

The question

How much can you hand to a model when a wrong answer sticks in someone's mouth? Each part below is my answer in the product.

Inside the app

Real screens from a local run with a test learner. Each one shows who is allowed to decide what.

Today screen: find your level, then cards for Talk, Read and Sounds.

Talk and Read need live Claude calls, so they aren't in these screens, and nobody can sign up to try them yet.

Four sources, one rule: nobody grades outside their lane

A model will state a pronunciation with total confidence. An early draft of the content had the Catalan word pera pronounced wrong, and that came from human memory, not even a model. So no source gets the last word on something it can't actually know.

Claudewrites, marksWiktionaryevery sound shownAzure Speechclarity, not truthThe learnercompares, decidesWhat you see

How I know what to trust

An eval is a fixed set of cases with known answers. Run them and you get a number, not an opinion. Before building on Azure's scorer, I gave it mistakes on purpose.

Can Azure hear a Spanish accent in Catalan?

21 clips with known answers: 6 correct, 15 wrong on purpose. Score out of 100.

Correct clipsAll 6 score 96 or more
Wrong clips5 of 15 caught
050100
80
llunasaid as a different word0
zeroθ for [z]50
Vallèsreal [v], Valencian72
perafull final a74
col·legisaid as "colegio"77
mestreclosed e, full final e84
peraclosed e89
VallèsSpanish accent90
col·legihard g90
Bon dia…Spanish accent, sentence94
dillunsl for ʎ95
menjarprobably [x] for [ʒ]97
casas for [z]100
celprobably θ100
escolafull vowels100

Whatever line you draw, five wrong clips score 95 or more, the same as correct speech. It catches gross errors and misses the fine ones this app exists to teach. All audio was synthetic, so a real learner would be noisier. These are best-case numbers.

0

Pronunciations that disagree with Wiktionary

27 single words match Wiktionary. One documented exception, one hand-written phrase. Anything else stops the check.

982

Tests passing

Across 80 files, with the model faked, so a run costs nothing and never touches the network.

$2

Daily limit per learner

$10 overall. A ledger records every call, failures too, before the next one is allowed.

None yet

Evals of Claude's own output

Are its sessions any good? Is its marking fair? I don't measure that yet, and it's the next one to build.

What the numbers changed

It's called clarity

The score answers "would a Catalan understand this word?", never "your pronunciation is right".

Only low sounds get flagged

Sounds below 60 are highlighted as a hint. If Azure's sound count doesn't match ours, you get the word score only.

Your ear does the rest

Every try offers the native clip and then yours. For seven rules Azure can't hear, you compare and mark it yourself.

Trust lives in one table

Which rules Azure can judge is written in one place, so a better scorer can take them over without a rewrite.

One door for the model

Claude plugs in at one file. Every reply is checked against a schema, and tests swap in a fake.

Caching got cut

Measuring showed prompt caching does nothing here: the shared prompt is about 100 tokens, under the 512 minimum.

Four looks, one pick

I asked for four different ideas of what the app is. Each starts somewhere else: a street, a book, a studio, a mosaic.

Marge is the more elegant page, but it's tasteful in a way I've seen in many apps. Trencadís is the one I'd remember, and its tiles come from where I live.

Trencadís: large rounded tiles in sun, sky, coral, mint and lilac.

What this doesn't prove

It's new, and I can't show that anyone learns from it yet. Two people in my household use it, which is not a user base.

The stack is plain node:http and a PWA with no build step, because that's what the job needed.