LVSpeechPort::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 Decode.

const char* GetConcept(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 Decode.

Index

The recognition position of the concept, between 0 and (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 might return the concepts highlighted:

See Also


Complete Help Topic List | Speech Engine Product Information