Bagikan melalui


Note

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

SrgsGrammarCompiler Members

Include Protected Members
Include Inherited Members

Compiles SrgsDocument and XML-format grammar files into binary grammar files with the .cfg extension and sends the output to a stream.

Methods

  Name Description
Public methodStatic member Compile(String, Stream) Compiles an XML-format grammar file into a binary grammar file with the .cfg extension and sends the output to a stream.
Public methodStatic member Compile(XmlReader, Stream) Compiles data for an XML-format grammar file referenced by an XmlReader into a binary grammar file with the .cfg extension and sends the output to a stream.
Public methodStatic member Compile(SrgsDocument, Stream) Compiles an SrgsDocument into a binary grammar file with the .cfg extension and sends the output to a stream.

Top

See Also

Reference

SrgsGrammarCompiler Class

Microsoft.Speech.Recognition.SrgsGrammar Namespace