Share via


Note

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

RecognizedPhrase.Grammar Property

Gets the Grammar object that the speech recognizer used to return the RecognizedPhrase.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public ReadOnly Property Grammar As Grammar
    Get
'Usage
Dim instance As RecognizedPhrase
Dim value As Grammar

value = instance.Grammar
public Grammar Grammar { get; }

Property Value

Type: Microsoft.Speech.Recognition.Grammar
The grammar object that the speech recognizer used to identify the input.

See Also

Reference

RecognizedPhrase Class

RecognizedPhrase Members

Microsoft.Speech.Recognition Namespace