Custom grammars supported by Microsoft Azure's Speech to Text recognition service?

Aman Bhardwaj 1 Reputation point
2021-09-07T10:23:18.38+00:00

Hi,

I have below 2 queries:

  1. Does the speech recognition service support the custom GRXML based grammar for recognition?
  2. Does the speech recognition service support the compiled(binary-format) grammar for recognition?

We have integrated C++ SDK provided by Microsoft to use these services. I have tried to find what are the types of grammars supported and could only find something called as PhraseListGrammars(https://learn.microsoft.com/en-us/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.phraselistgrammar?view=azure-python).

Please help us if you are know how much Microsoft's cloud STT service supports such custom grammars.

Thanks

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,391 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,367 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. YutongTie-MSFT 46,406 Reputation points
    2021-09-08T01:46:17.587+00:00

    Hello,

    Please refer to the document for grammar supported by Azure speech https://www.w3.org/TR/speech-grammar/

    GRXML should be supported as below:

    130007-image.png

    Not quite sure what do you mean by binary format, but you should find all related information in above document.

    Regards,
    Yutong

    0 comments No comments

  2. Aman Bhardwaj 1 Reputation point
    2021-09-08T11:13:14.59+00:00

    Hi ,

    Thanks for the response. We are using the SpeechRecognizer in C++ SDK(https://learn.microsoft.com/en-us/cpp/cognitive-services/speech/speechrecognizer) for the recognition.

    Can you also help us find out which is the exact API in C++ that take the GRXML grammars.
    We could only find the PhraseListGrammars APIs.

    Thanks for the help,
    Aman

    0 comments No comments