PronunciationAssessment does not include ContentAssessmentResult for Unscripted Assessment Results

Naman Muley 0 Reputation points
2025-01-09T05:49:51.4566667+00:00

I am attempting to try out the pronunciation assessment and will really use the TopicScore and GrammarScore from the content assessment result.

I am using a modified version of the sample python code given in your github: https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/261160e26dfcae4c3aee93308d58d74e36739b6f/samples/python/console/speech_sample.py#L846

Here are the conditions I have set which make me believe my pronunciation result must have a non-null content assessment result:

  1. language = "en-US"
  2. Setting content assessment with topic like: pronunciation_config.enable_content_assessment_with_topic(``*t``opic*=topic)
  3. Setting granularity of assessment to FullText like thus: granularity=speechsdk.PronunciationAssessmentGranularity.FullText,

What am I doing wrong to not get the ContentAssessmentResult?

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,856 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.