question

AmanBhardwaj-6559 avatar image
0 Votes"
AmanBhardwaj-6559 asked AmanBhardwaj-6559 answered

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

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://docs.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-cognitive-servicesazure-speech
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YutongTie-MSFT avatar image
0 Votes"
YutongTie-MSFT answered

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



image.png (192.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AmanBhardwaj-6559 avatar image
0 Votes"
AmanBhardwaj-6559 answered

Hi ,

Thanks for the response. We are using the SpeechRecognizer in C++ SDK(https://docs.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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.