Pronunciation Assessment

Guide

Phoneme-level pronunciation scoring

A word score tells a learner that something went wrong. A phoneme-level assessment tells them what: which sound was expected, which sound was heard instead, and which letters of the word it was written with.

The problem

What a word score cannot say

Take the French sentence Les enfants ont mangé une petite tarte aux pommes, read aloud by somebody who stumbled on tarte. A word-level assessment returns a low score for that word, and stops there. The learner knows the word was wrong, but not whether to fix its first sound, its vowel or its r, so the only advice it supports is "try again".

A phoneme-level assessment splits the word into the sounds French expects — /taʁt/ — and compares each one with what was heard. In this recording the first /t/ came out as /e/, the /a/ and the /ʁ/ were not said at all, and the final /t/ was correct. That is feedback a learner can act on: start the word with a /t/, and say every sound of it.

The detail

Three levels in one response

The sentence
A score, whether the reading is accepted, and the kinds of fault found in it: substitution, omission or insertion.
Each word
Its status, its score, the faults found in it, and, unless it was omitted, when it was said, in milliseconds from the start of the recording.
Each sound
The sound expected (referencePhoneme), the sound heard (producedPhoneme), its status, how confident the model was, when it was said unless it was omitted, and the letters of the word it is written with (graphemes).

The times are what an interface needs to replay a reading with its result: light up each word as the recording plays, or play back only a word that was mispronounced. The demo does the first.

Sounds are written in the International Phonetic Alphabet, the notation dictionaries use. Why IPA explains the choice and how to read it from your code.

Statuses

Four ways a sound can go

Correct
The expected sound was heard, or came close enough behind the model's first guess to count. producedPhoneme is always that first guess, so on a correct sound it can differ from the expected one: show it for a mistake, or where tolerated is set (below).
Mispronounced
Another sound was heard in its place. Both are in the result, so you can show the learner what they said as well as what was expected.
Omitted
Nothing was heard for it. A word whose every sound is missing is itself omitted, like ont in the reading above.
Insertion
A sound was heard that the sentence does not have. Extra sounds between words come back as an item of their own, with no expected word, so the words of your sentence stay where you put them.

A word takes the same four statuses. A mispronounced or omitted word lists the faults of its sounds, so it always says why; an inserted one is the extra sounds themselves.

Letters

From sounds back to the letters a learner reads

A learner reads letters, not phonetic symbols. So every expected sound carries the span of the word's letters it is written with, and each word lists the spans of letters behind its mistakes (mispronouncedGraphemes). Highlight those, and the learner sees the mistake where they read it.

The span follows the spelling, not the number of sounds. In aux one sound, /o/, is written with all three letters; in enfants the second /ɑ̃/ is written ants, silent t and s included. In the reading above, the letters marked in tarte are tar: the three sounds that went wrong.

Tolerance

What does not count as a mistake

Native speakers do not all say a language the same way, and a learner should not be marked down for an accent the language accepts. Where a variation is accepted, the sound is reported correct with tolerated set, and what was actually heard is still in producedPhoneme.

In the reading above, the last sound of mangé was said /ɛ/ rather than /e/. Much of France makes no difference between the two in that position, so the word stays correct, and your interface can still mention it to a learner who wants the standard vowel. Which variations are accepted depends on the language, and each language's guide says which. It also depends on the profile.

Scores

Status for the verdict, score for the confidence

Each sound's score says how confident the acoustic model was that it heard the expected sound. It does not decide the status: the status comes from comparing the sounds heard with the sounds expected, and from the variations the language accepts. Decide what to show from the status, and use the score to order or weigh what you show, for example to point a learner first at the sound they were furthest from.

The sentence's verdict, accepted, is the one to use for "move on, or try again". In French a reading is accepted when no word of the sentence was mispronounced or skipped; in Arabic it may carry a few mistakes, more for a longer sentence. Either way every mistake is still reported, so a learner can pass and still see what to work on.

Uses

Where sound-level feedback matters

Language-learning apps
Point a learner at the one sound they keep missing, rather than asking them to repeat whole sentences.
Learning to read
A child reading aloud gets the letters they misread highlighted, and a word skipped shows as skipped rather than as a low score.
Teachers and tutors
See across a class which sounds are missed most, from the statuses rather than from listening to every recording.

Try it in your browser to see a result drawn this way, from your own voice.

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