Browse
 
Tools
Rss Categories

LV_SRE_GetInterpretationLanguage

Reference Number: AA-00688 Views: 6717 0 Rating/ Voters

Returns the language identifier of the grammar that generated the specified interpretation index.

Function

  • const char * LV_SRE_GetInterpretationLanguage(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 language identifier is being queried.

Return Values

Non-NULL

The queried language identifier.

NULL

If either the specified port or VoiceChannel are invalid, or the specified (Index) interpretation does not exist.

Remarks

The returned language identifier is an RFC 3066 language identifier, such as "en-US" for United States English, or "fr-CA" for Canadian French.

See Also