LV_SRE_GetConceptScore

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 the confidence score of a concept found in the last call to LV_SRE_Decode.

int LV_SRE_GetConceptScore(HPORT hport,int VoiceChannel, int Index);

Return Values

The confidence score of the matched concept.  The range of possible values is 0 to 1000.

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  might return the scores highlighted:

See Also


Complete Help Topic List | Speech Engine Product Information