This will return the valid result of a recognition for a specific module.
BOOL LVCA_GetConceptA(HANDLE hCA, LPCSTR Module, LPSTR Concept, LONG * Size, LONG * Confidence);
BOOL LVCA_GetConceptW(HANDLE hCA, LPCWSTR Module, LPWSTR Concept, LONG * Size, LONG * Confidence);
Return Value
These functions return true if successful, otherwise false will be returned. Call LVCA_GetLastCallError to retrieve the error code and message.
Parameters
hCA
The handle given by the event callback.
Module
The pointer to a string containing the module name.
Concept
The pointer to memory to receive the concept string.
Size
A pointer to a LONG containing the size of the concept buffer.
Confidence
A pointer to a LONG to receive the confidence score for the concept.
Remarks
Modules will only store successful recognitions from its local grammar. These values can be evaluated on any event. No global, added, or concepts add through a standard grammar will be saved. These values can be evaluated through LVCA_GetRawConcept during the CAMSG_REC_BEFORE_CONFIRM event. If this information needs to be saved for later evaluation it should be placed in a structure or class stored in the call's User Data pointer.
Certain module types have a more information than this function retrieves. It may be more appropriate to use the specific function for that module.
Complete Help Topic List | Speech Platform Product Information