Partilhar via


Note

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

GrammarInfo Members

Include Protected Members
Include Inherited Members

Represents an object that contains static information about a speech recognition grammar. In contrast, a Grammar object contains information about a speech recognition grammar that is loaded into a speech recognizer at run time.

The GrammarInfo type exposes the following members.

Constructors

  Name Description
Public method GrammarInfo(Stream) Creates a new instance of the GrammarInfo class, using the grammar data in the specified stream object.
Public method GrammarInfo(String) Creates a new instance of the GrammarInfo class, using the grammar data in the specified file path.

Top

Properties

  Name Description
Public property ExtraParts Gets a GrammarInfoPartsCollection collection that contains information about a specific speech recognition engine.

Top

Methods

  Name Description
Public method Dispose Disposes the GrammarInfo object.
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method Save(Stream) Saves the information in a GrammarInfo object to the specified stream.
Public method Save(String) Saves the information in a GrammarInfo object to the specified file path.
Public method ToString (inherited from Object)

Top

See Also

Reference

GrammarInfo Class

Microsoft.Speech.Recognition Namespace