Compartilhar via


Note

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

SrgsGrammarCompiler.Compile Method

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.

Overload List

  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

SrgsGrammarCompiler Members

Microsoft.Speech.Recognition.SrgsGrammar Namespace