LV_SRE_GetConcept

Note: Rather than using concept/phrase grammars, LumenVox encourages the use of SRGS grammars. SRGS grammars provide a standards-based method of creating grammars that is more robust and easier to troubleshoot than concept/phrase grammars. See our SRGS tutorial for more information on working with SRGS grammars.

Returns one concept found in the last call to LV_SRE_Decode.

const char* LV_SRE_GetConcept(HPORT hport,int VoiceChannel, int Index);

Return Values

A null-terminated string representing the matched concept .  

NULL indicates that Index was outside the possible range.

Parameters

VoiceChannel

The voice channel processed by LV_SRE_Decode.

Index

The recognition position of the concept, between 0 and (LV_SRE_GetNumberOfConceptsReturned - 1), inclusive.

Remarks

Assuming the speaker said "Violet" and the grammar contained the concepts under Concept, and the grammar under Phrase, the Speech Engine would return the concepts highlighted:

See Also


Complete Help Topic List | Speech Engine Product Information