Pronunciation assessment in the Azure AI Foundry portal
Important
Items marked (preview) in this article are currently in public preview. This preview is provided without a service-level agreement, and we don't recommend it for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.
Pronunciation assessment uses the speech to text capability to provide subjective and objective feedback for language learners. Practicing pronunciation and getting timely feedback are essential for improving language skills. Assessments driven by experienced teachers can take much time and effort and makes a high-quality assessment expensive for learners. Pronunciation assessment can help make the language assessment more engaging and accessible to learners of all backgrounds.
Note
For information about availability of pronunciation assessment, see supported languages and available regions.
This article describes how to use the pronunciation assessment tool without writing any code through the AI Foundry. For information about how to integrate pronunciation assessment in your speech applications, see How to use pronunciation assessment.
Reading and speaking scenarios
For pronunciation assessment, there are two scenarios: Reading and Speaking.
- Reading: This scenario is designed for scripted assessment. It requires the learner to read a given text. The reference text is provided in advance.
- Speaking: This scenario is designed for unscripted assessment. It requires the learner to speak on a given topic. The reference text isn't provided in advance.
Conduct a scripted assessment
Follow these steps to assess your pronunciation of the reference text:
Go to Pronunciation assessment in the AI Foundry.
On the Reading tab, choose a supported language that you want to evaluate the pronunciation.
You can use provisioned text samples or enter your own script.
When reading the text, you should be close to microphone to make sure the recorded voice isn't too low.
Otherwise you can upload recorded audio for pronunciation assessment. Once successfully uploaded, the audio is automatically evaluated by the system, as shown in the following screenshot.
Conduct an unscripted assessment
If you want to conduct an unscripted assessment, select the Speaking tab. This feature allows you to conduct unscripted assessment without providing reference text in advance. Here's how to proceed:
Go to Pronunciation assessment in the AI Foundry.
On the Speaking tab, choose a supported language that you want to evaluate the pronunciation.
Next, you can select from sample topics provided or enter your own topic. This choice allows you to assess your ability to speak on a given subject without a predefined script.
When recording your speech for pronunciation assessment, it's important to ensure that your recording time falls within the recommended range of 15 seconds (equivalent to more than 50 words) to 10 minutes. This time range is optimal for evaluating the content of your speech accurately. To receive a topic score, your spoken audio should contain at least three sentences.
You can also upload recorded audio for pronunciation assessment. Once successfully uploaded, the audio is automatically evaluated by the system.
Pronunciation assessment results
Once you recorded your speech or uploaded the recorded audio, the Assessment result is output. The result includes your spoken audio and the feedback on your speech assessment. You can listen to your spoken audio and download it if necessary.
You can also check the pronunciation assessment result in JSON. The word-level, syllable-level, and phoneme-level accuracy scores are included in the JSON file.
The word is highlighted according to the error type. The error types in the pronunciation assessment are represented using different colors. This visual distinction makes it easier to identify and analyze specific errors. It provides a clear overview of the error types and frequencies in the spoken audio, helping you focus on areas that need improvement. You can toggle on/off each error type to focus on specific types of errors or exclude certain types from the display. This feature provides flexibility in how you review and analyze the errors in your spoken audio. While hovering over each word, you can see accuracy scores for the whole word or specific phonemes.
At the bottom of the Assessment result, scoring results are displayed. For scripted pronunciation assessment, only the pronunciation score (including accuracy score, fluency score, completeness score, and prosody score) is provided. For unscripted pronunciation assessment, both pronunciation score (including accuracy score, fluency score, and prosody score) and content score (including vocabulary score, grammar score, and topic score) are displayed.
Granularity of pronunciation assessment
Pronunciation assessment provides various assessment results in different granularities, from individual phonemes to the entire text input.
- At the full-text level, pronunciation assessment offers additional Fluency, Completeness, and Prosody scores: Fluency indicates how closely the speech matches a native speaker's use of silent breaks between words; Completeness indicates how many words are pronounced in the speech to the reference text input; Prosody indicates how well a speaker conveys elements of naturalness, expressiveness, and overall prosody in their speech. An overall score aggregated from Accuracy, Fluency, Completeness, and Prosody is then given to indicate the overall pronunciation quality of the given speech. Pronunciation assessment also offers content score (Vocabulary, Grammar, and Topic) at the full-text level.
- At the word level, pronunciation assessment can automatically detect miscues and provide accuracy score simultaneously, which provides more detailed information on omission, repetition, insertions, and mispronunciation in the given speech.
- Syllable-level accuracy scores are currently available via the JSON file or Speech SDK.
- At the phoneme level, pronunciation assessment provides accuracy scores of each phoneme, helping learners to better understand the pronunciation details of their speech.
In addition to the baseline scores of accuracy, fluency, and completeness, the pronunciation assessment feature in the AI Foundry includes more comprehensive scores to provide detailed feedback on various aspects of speech performance and understanding. The enhanced scores are as follows: Prosody score, Vocabulary score, Grammar score, and Topic score. These scores offer valuable insights into speech prosody, vocabulary usage, grammar correctness, and topic understanding.
At the bottom of the Assessment result, two overall scores are displayed: Pronunciation score and Content score. In the Reading tab, you find the Pronunciation score displayed. In the Speaking tab, both the Pronunciation score and the Content score are displayed.
Pronunciation score: This score represents an aggregated assessment of the pronunciation quality and includes four subaspects. These scores are available in both the reading and speaking tabs for both scripted and unscripted assessments.
- Accuracy score: Evaluates the correctness of pronunciation.
- Fluency score: Measures the level of smoothness and naturalness in speech.
- Completeness score: Reflects the number of words pronounced correctly.
- Prosody score: Assesses the use of appropriate intonation, rhythm, and stress. Several more error types related to prosody assessment are introduced, such as Unexpected break, Missing break, and Monotone. These error types provide more detailed information about pronunciation errors compared to the previous engine.
Content score: This score provides an aggregated assessment of the content of the speech and includes three subaspects. This score is only available in the speaking tab for an unscripted assessment.
- Vocabulary score: Evaluates the speaker's effective usage of words and their appropriateness within the given context to express ideas accurately, and the level of lexical complexity.
- Grammar score: Evaluates the correctness of grammar usage and variety of sentence patterns. It considers lexical accuracy, grammatical accuracy, and diversity of sentence structures, providing a more comprehensive evaluation of language proficiency.
- Topic score: Assesses the level of understanding and engagement with the topic discussed in the speech. It evaluates the speaker's ability to effectively express thoughts and ideas related to the given topic.
These overall scores offer a comprehensive assessment of both pronunciation and content, providing learners with valuable feedback on various aspects of their speech performance and understanding. With these enhanced features, language learners can gain deeper insights into their advantages and areas for improvement in both pronunciation and content expression.
Note
Content and prosody assessments are only available in the en-US locale.
Assessment scores in streaming mode
Pronunciation assessment supports uninterrupted streaming mode. The AI Foundry demo allows for up to 60 minutes of recording in streaming mode for evaluation. As long as you don't press the stop recording button, the evaluation process doesn't finish and you can pause and resume evaluation conveniently.
Pronunciation assessment evaluates several aspects of pronunciation. At the bottom of Assessment result, you can see Pronunciation score as aggregated overall score, which includes 4 sub aspects: Accuracy score, Fluency score, Completeness score, and Prosody score. In streaming mode, since the Accuracy score, Fluency score, and Prosody score will vary over time throughout the recording process, we demonstrate an approach in AI Foundry to display approximate overall score incrementally before the end of the evaluation, which weighted only with Accuracy score, Fluency score, and Prosody score. The Completeness score is only calculated at the end of the evaluation after you press the stop button, so the final pronunciation overall score is aggregated from Accuracy score, Fluency score, Completeness score, and Prosody score with weight.
Refer to the demo examples below for the whole process of evaluating pronunciation in streaming mode.
Start recording
As you start recording, the scores at the bottom begin to alter from 0.
During recording
During recording a long paragraph, you can pause recording at any time. You can continue to evaluate your recording as long as you don't press the stop button.
Finish recording
After you press the stop button, you can see Pronunciation score, Accuracy score, Fluency score, Completeness score, and Prosody score at the bottom.
Pricing
As a baseline, usage of pronunciation assessment costs the same as speech to text for pay-as-you-go or commitment tier pricing. If you purchase a commitment tier for speech to text, the spend for pronunciation assessment goes towards meeting the commitment.
The pronunciation assessment feature also offers other scores that aren't included in the baseline speech to text price: prosody, grammar, topic, and vocabulary. These scores are available as an add-on charge above the baseline speech to text price. For information about pricing, see speech to text pricing.
Here's a table of available pronunciation assessment scores, whether it's available in the scripted or unscripted assessments, and whether it's included in the baseline speech to text price or the add-on price.
Score | Scripted or unscripted | Included in baseline speech to text price? |
---|---|---|
Accuracy | Scripted and unscripted | Yes |
Fluency | Scripted and unscripted | Yes |
Completeness | Scripted | Yes |
Miscue | Scripted and unscripted | Yes |
Prosody | Scripted and unscripted | No |
Grammar | Unscripted only | No |
Topic | Unscripted only | No |
Vocabulary | Unscripted only | No |
Responsible AI
An AI system includes not only the technology, but also the people who use it, the people who will be affected by it, and the environment in which it's deployed. Read the transparency notes to learn about responsible AI use and deployment in your systems.
Next steps
- Use pronunciation assessment with the Speech SDK
- Read the blog about use cases