Browse
 
Tools
Rss Categories

LVSpeechPort::GetInterpretationGrammarLabel

Reference Number: AA-00771 Views: 6962 0 Rating/ Voters

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.

Function

  • const char* GetInterpretationGrammarLabel(int VoiceChannel, int index)

Parameters

VoiceChannel

The channel containing the decoded audio.

index

The index of the interpretation for which the grammar label is being queried.

Return Values

Non-NULL

The queried grammar label.

NULL

If either the port is not valid, the input VoiceChannel is invalid, or the specified (index) interpretation does not exist.

See Also