Bagikan melalui


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Create Grammars Using SrgsGrammar (Microsoft.Speech)

Using the classes in the Microsoft.Speech.Recognition.SrgsGrammar namespace, you can programmatically create grammars that conform to the Speech Recognition Grammar Specification (SRGS) Version 1.0, as implemented by the Microsoft Speech Platform SDK 11. The types of the Microsoft.Speech.Recognition.SrgsGrammar namespace map closely to the elements and attributes defined by SRGS.

In This Section