Guide
IPA phonemes in pronunciation assessment
Every sound in a result is written in the International Phonetic Alphabet (IPA): one symbol for one sound, whatever the spelling, the same notation in every language. Here is why, and what it means for the code that reads it.
The notation
One symbol, one sound
Spelling is a poor record of sound. French writes the sound /o/ as o, au, eau or aux, and says the letters ent of mangent not at all. Everyday Arabic leaves its short vowels unwritten. A notation that follows the letters cannot say which sound was expected, let alone which was heard.
The IPA gives each sound of human speech its own symbol. It is the notation of dictionaries and phonetics courses, so the sounds in a result are ones a teacher already knows how to read, and that you can look up.
Why IPA
What it gives your application
- Precision
- It tells apart the sounds a learner confuses: French /y/ and /u/ (tu, tout), or Arabic /sˤ/ and /s/ (ص, س), which Latin letters would write the same.
- One notation for every language
- French and Arabic come back in the same notation, and so will the languages that follow. The code that reads a French result reads an Arabic one; only drawing the Arabic words needs them laid out right to left.
- Expected and heard, side by side
- Because both are in the same notation, a mispronounced sound's
referencePhonemeandproducedPhonemecan be shown together, or counted across many recordings to find the confusions a learner makes most. - A standard
- Nothing proprietary to learn or to map: the symbols are in Unicode, and in the fonts your users already have.
A result
What a word looks like
The French word tarte, expected as /taʁt/, heard as /et/. Cut from a real response, with the scores and timings left out:
{
"referenceWord": "tarte",
"producedText": "et",
"status": "mispronounced",
"faults": ["substitution", "omission"],
"mispronouncedGraphemes": [{ "start": 0, "end": 3 }],
"phonemes": [
{ "referencePhoneme": "t", "producedPhoneme": "e", "status": "mispronounced",
"graphemes": { "start": 0, "end": 1 } },
{ "referencePhoneme": "a", "producedPhoneme": null, "status": "omitted",
"graphemes": { "start": 1, "end": 2 } },
{ "referencePhoneme": "ʁ", "producedPhoneme": null, "status": "omitted",
"graphemes": { "start": 2, "end": 3 } },
{ "referencePhoneme": "t", "producedPhoneme": "t", "status": "correct",
"graphemes": { "start": 3, "end": 5 } }
]
}
The first sound was replaced, the next two were not said, the last was
correct. Each expected sound names the letters of the word it is
written with, so mispronouncedGraphemes can underline
tar in the word as the learner reads it. More on what
each field means: phoneme-level
pronunciation scoring.
In your code
Handling IPA strings
- Compare whole strings
- One sound can be more than one Unicode character. French /ɑ̃/ is
ɑfollowed by a combining tilde; Arabic /sˤ/ and /aː/ carry a modifier letter, and a doubled consonant, the shadda's, is one sound written twice: /rr/. Each sound is its own string in the result, so compare those strings as they are, and never split one by character. - Show letters to learners, IPA to experts
- Most learners do not read the IPA. Highlight the letters (
graphemes,mispronouncedGraphemes) for them, and keep the symbols for teachers, advanced learners and your own analytics. - Choose a font that has the symbols
- Common system fonts carry the IPA, but not every web font does. Where you show the symbols, fall back to a system font so a combining tilde is not drawn on its own.
- Missing sounds are null
- An omitted sound has an expected symbol and no heard one; an inserted sound has a heard symbol and no expected one.
By language
The sounds learners get wrong
Each language has its own sounds, and its own mistakes. Each language's guide, listed below, goes through the ones learners make most, with the symbols the API uses for them and what a result says about each.
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.
Learn more