Provides the label of the grammar that was used by the ASR engine to produce the parse associated with a given interpretation. When a decode is performed with more than one active grammars, this API call helps identify the grammar that produced the parse leading to a given interpretation.
- const char* GetInterpretationGrammarLabel(int VoiceChannel, int index)
The channel containing the decoded audio.
The index of the interpretation for which the grammar label is being queried.
The queried grammar label.
If either the port is not valid, the input VoiceChannel is invalid, or the specified (index) interpretation does not exist.