Browse
 
Tools
Rss Categories

LV_SRE_GetInterpretationTopLevelRule

Reference Number: AA-00693 Views: 1426 0 Rating/ Voters

Provides the name of the root rule of the grammar that was used by the ASR engine to produce the parse associated with a given interpretation.

Function

  • const char * LV_SRE_GetInterpretationTopLevelRule(HPORT hport, int voicechannel, int index)

Parameters

hport

The port's handle.

voicechannel

The channel containing the decoded audio.

index

The index of the interpretation for which the top level rule's name is being queried.

Return Values

Non-NULL

The queried top level rule name.

NULL

If either the inputs port or voicechannel are invalid, or the specified (index) interpretation does not exist.

See Also