Pronunciation Assessment

Guide

Word pronunciation API: check how a word was said

A pronunciation lookup tells you how a word should sound. This API does the other half: it listens to a learner say the word, and tells you which sound came out wrong and which letters it is written with.

Two kinds of API

Looking a word up, or checking how it was said

Pronunciation lookupPronunciation assessment
You sendA wordA recording, and the word or sentence it was meant to be
You getHow it should sound: a transcription, or a recording of itHow it was said: each sound expected and heard, with a verdict, a score and the letters it is written with
It answersHow is this word pronounced?Did the learner say it right, and if not, where?
Built forDictionaries, text to speechReading and language practice, speaking exercises

An assessment carries the lookup with it: every expected sound comes back in the International Phonetic Alphabet, so the answer says how the word should sound as well as how it was said. Why the IPA: IPA phonemes in pronunciation assessment.

One word

Assessing a single word

A word is a sentence of one: send it as the expectedText of POST /v1/assess-pronunciation, with the recording of the learner saying it. Write the word the way the API takes a sentence in that language: some languages need every vowel marked, as each language's guide explains.

curl https://…/v1/assess-pronunciation \
  -H "x-api-key: …" \
  -F language=fr \
  -F expectedText=pommes \
  -F audio=@word.wav \
  -F profile=standard

Here is the word of a real answer, the French pommes, expected as /pɔm/ and heard as /pøm/, with the scores and timings left out:

{
  "referenceWord": "pommes",
  "producedText": "pøm",
  "status": "mispronounced",
  "faults": ["substitution"],
  "mispronouncedGraphemes": [{ "start": 1, "end": 2 }],
  "phonemes": [
    { "referencePhoneme": "p", "producedPhoneme": "p", "status": "correct",
      "graphemes": { "start": 0, "end": 1 } },
    { "referencePhoneme": "ɔ", "producedPhoneme": "ø", "status": "mispronounced",
      "graphemes": { "start": 1, "end": 2 } },
    { "referencePhoneme": "m", "producedPhoneme": "m", "status": "correct",
      "graphemes": { "start": 2, "end": 6 } }
  ]
}

Two sounds were right; the vowel was not. /ɔ/ came out as /ø/, the vowel of peu, so the word is mispronounced by a substitution. The six letters say three sounds, and each sound names its own: mispronouncedGraphemes points at the o alone, the letter to underline for the learner. The word and each sound also carry a score and, unless omitted, when they were heard, so a replay can follow them; the top of the answer says whether the reading, here one word, is accepted.

What each status and field means: phoneme-level pronunciation scoring.

Where one word is enough

Exercises built on single words

Vocabulary
A new word, said back right after it is heard or read, with the sound that went wrong shown on its letters.
Learning to read
A reader decoding one word at a time, held to the sounds that matter first with the beginner profile.
Sounds that are hard to hear
Words that differ by one sound the learner confuses, drilled in turn: the answer names the sound heard, not only that it was wrong.
Placement
A short list of words, each assessed on its own, to see which sounds a new learner already makes.

Beyond one word

The same call, from a word to a reading

Next

Hear it for yourself

Read a sentence aloud and see, word by word and sound by sound, what the API heard. No account needed, and nothing you record is kept.

Try it in your browser View on AWS Marketplace