LVCA_GetNatLangConcept

Retrieve the primary and secondary concept from a natural language module.

 

BOOL LVCA_GetNatLangConceptsA(HANDLE hCA, LPCSTR Module, LPSTR PriConcept, LONG * PriSize, LPSTR SecConcept, LONG * SecSize, LONG * Confidence);

BOOL LVCA_GetNatLangConceptsW(HANDLE hCA, LPCWSTR Module, LPWSTR PriConcept, LONG * PriSize, LPWSTR SecConcept, LONG * SecSize, 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.

 

PriConcept

The pointer to memory to receive the primary concept string.

 

PriSize

A pointer to a LONG containing the size of the primary concept buffer.

 

SecConcept

The pointer to memory to receive the secondary concept string.

 

SecSize

A pointer to a LONG containing the size of the secondary concept buffer.

 

Confidence

A pointer to a LONG to receive the confidence score for the concept.

 

 

Remarks

 


Complete Help Topic List | Speech Platform Product Information