← AI LAB

Pronunciation Coach

Read a Japanese sentence aloud. A speech-recognition model running on your own device writes down what it heard, and a kana-by-kana comparison shows where it heard something different.

RUNS ON YOUR DEVICE·

Runs entirely in your browser. Your voice never leaves your device. Downloads once, then it's cached.

How it works

  1. Pick a sentence. Most of them hide a classic learner trap: a long vowel, a small っ, or a word that turns into a different word if you get it slightly wrong.
  2. Load the speech model. This downloads Whisper, OpenAI’s open speech-recognition model, plus a Japanese dictionary, into your browser. It’s about 95 MB the first time, then cached.
  3. Record yourself. Whisper transcribes what you said, on your device. Your voice is never uploaded.
  4. A dictionary-based analyser (kuromoji) turns Whisper’s transcript into kana. The page lines it up against the target sentence one kana at a time, highlighting what went missing and what appeared instead.

Don’t have a microphone handy? Press test with the reference voice to run the same pipeline on the model recording.

The catch: Whisper hears words, not sounds

I tested this with deliberately mispronounced recordings, and the results say a lot about how speech recognition works:

So treat this as a “would a listener understand me?” check, not a phonetics lab. A perfect score means your words came through as the right words. It says nothing about pitch accent or how native you sound. When it does flag something, though, it’s usually a mistake that changes the meaning, and those are the mistakes worth fixing first.

Things I learned building it