LVCA_GetRawConcept

Retrieves the raw concepts from the recognizer.

 

BOOL LVCA_GetRawConceptA(HANDLE hCA, LONG Index, LPSTR Concept, LONG * Size, LONG * Confidence);

BOOL LVCA_GetRawConceptW(HANDLE hCA, LONG Index, 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

 

Platform by design evaluates the raw concepts and produces a single identified concept.  On the event CAMSG_REC_BEFORE_CONFIRM, the raw concepts can be evaluated and the Platform can be directed to perform the appropriate actions.  If the module is not directed to take an action by calling LVCA_SetGoto or LVCA_SetTransfer, any added concept or added standard grammar will be treated as a no match.  

 

 

 


Complete Help Topic List | Speech Platform Product Information