Note: As of July 2007, all functions relating to concept/phrase grammars have been deprecated in favor of SRGS grammars. These functions are subject to being removed in a future release. Please update your applications accordingly. See Using SRGS Grammars for more information on working with SRGS grammars.
This function retrieves the number (count) of raw concepts identified.
LVCA_API BOOL WINAPI LVCA_GetRawConceptCount(HANDLE hCA, LONG * Count);
If successful,LVCA_GetRawConceptCount returns true. If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.
CAMSG_REC_BEFORE_CONFIRM
hCA (IN) Call handle passed into function
Count (OUT) The Returns the number of concepts identified during the recognition.
By design, the Platform evaluates the raw concepts it perceives and produces a single identified concept. However, on the event CAMSG_REC_BEFORE_CONFIRM, a CA DLL may evaluate the raw concepts and subsequently direct the Platform to perform the appropriate actions. If the program design does not direct the module 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