Can Pronunciation assessment be used with REST API?

HyunHo Shin 20 Reputation points
2024-01-08T15:23:15.05+00:00

Is it possible to utilize Pronunciation assessment with REST API and if so, what are the necessary steps to make it work?

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

Accepted answer
  1. YutongTie-MSFT 52,856 Reputation points
    2024-01-09T00:07:17.57+00:00

    @HyunHo Shin Thanks for reaching out to us. Pronunciation Assessment is supported in Azure Speech Studio, Azure Speech SDK and Azure Speech REST API, but please be aware that, Azure Speech REST API is only supported short audio.

    As the document describes - Use cases for the Speech to text REST API for short audio are limited. Use it only in cases where you can't use the Speech SDK.

    First, you need to enable it in the header - Pronunciation-Assessment

    Specifies the parameters for showing pronunciation scores in recognition results. These scores assess the pronunciation quality of speech input, with indicators like accuracy, fluency, and completeness.

    This parameter is a Base64-encoded JSON that contains multiple detailed parameters. To learn how to build this header, see Pronunciation assessment parameters.

    For the Speech REST API document, please refer to here -

    https://learn.microsoft.com/en-ca/azure/ai-services/speech-service/rest-speech-to-text-short#pronunciation-assessment-parameters

    I would highly recommend you try Speech Studio if you are not willing to use code or Speech SDK which support more scenarios.

    More information please refer to Pronunciation assessment: Evaluate speech pronunciation and give speakers feedback on the accuracy and fluency of spoken audio. Speech Studio provides a sandbox for testing this feature quickly, without code.

    To use the feature with the Speech SDK in your applications, see the Pronunciation assessment article.

    I hope this helps.

    Regards,

    Yutong

    -Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks a lot.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

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.