GrammarList.Add(Grammar) Method

Definition

Adds a single grammar to the current grammar list

public void Add (Microsoft.CognitiveServices.Speech.Grammar grammar);
member this.Add : Microsoft.CognitiveServices.Speech.Grammar -> unit
Public Sub Add (grammar As Grammar)

Parameters

grammar
Grammar

The grammar to add

Remarks

Add support grammar grammars using ClassLanguageModel.

Applies to