GrammarList.FromRecognizer(Recognizer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a grammar list for the specified recognizer.
public static Microsoft.CognitiveServices.Speech.GrammarList FromRecognizer (Microsoft.CognitiveServices.Speech.Recognizer recognizer);
static member FromRecognizer : Microsoft.CognitiveServices.Speech.Recognizer -> Microsoft.CognitiveServices.Speech.GrammarList
Public Shared Function FromRecognizer (recognizer As Recognizer) As GrammarList
Parameters
- recognizer
- Recognizer
The recognizer from which to obtain the grammar list.
Returns
The grammar list associated with the recognizer.
Remarks
Creating a grammar list from a recognizer is only usable in specific scenarios and is not generally available.