LVCA_GetNatLangConceptsA/LVCA_GetNatLangConceptsA

Retrieve the primary and secondary concept A Concept is a general idea used to describe a group of Phrases Phrases are all the individual ways that a Concept could be described and are the words and phrases for which the program will listen. Phrases are marked with a double quote. Each individual Phrase that makes up the Phrases is marked by a single quote.. Phrases are the words for which the program will listen A Listen tells the program to listen to the caller. It will then try to match what they say to the information you enter in the Grammar. A Listen is a Terminal Action. This means it will be the last Action in an Actions List.. For example, "Locations," "Your location," "Where you're located," and "Your address" are all Phrases that could be used within the Concept of "Locations." from a natural language module Modules are the individual elements you use to create your Information System An Information System is a general term used to describe the product you are designing with this software. This could be any type of system in which you can give information to your callers, such as a Virtual Customer Service Center, a Virtual Technical Support Center, or a Virtual Help Desk.. When you create an Information System, you are crafting a conversation between a computer and a live person. Each Module represents a single, distinct portion of that conversation. The different types of Modules are: Start, List, Multilevel, Overview, Yes/No, Goto A Goto is an Action that sends callers to another Module. A Goto is a Terminal Action. This means it will be the last Action in an Actions List., Hangup A Hangup is an Action that will hang up on callers. A Hangup is a Terminal Action. This means it will be the last Action in an Actions List., Transfer A Transfer is an Action that will hang up on callers. A Transfer is a Terminal Action. This means it will be the last Action in an Actions List., Global, Global Yes/No and Goto Project Each Project you create represents a single Speech Driven Information System. So, if you want to create three separate Information Systems, you will need to create three different Projects.. Each Module has its own unique function and symbol.

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

LVCA_API BOOL WINAPI LVCA_GetNatLangConceptsW(HANDLE hCA, LPCWSTR Module, LPWSTR PriConcept, LONG * PriSize, LPWSTR SecConcept, LONG * SecSize, LONG * Confidence);

Defined as:

LVCA_GetNatLangConcepts

Return Value:

This function return true if successful, otherwise false will be returned.  Call LVCA_GetLastCallError to retrieve the error An Error is anything within the system itself that creates a glitch in the Speech Driven Information System, such as a missing Vox A Vox is an Action that plays a sound file. You can record a Vox in your own voice directly from the Speech Driven Information System. You can also use the Audio Manager to import recordings or sound effects that you have obtained from other sources. or a Goto that doesn't go anywhere. code and message.

Supported on Events:

CAMSG_ENTERMODULE

CAMSG_REC_BEFORE_CONFIRM

CAMSG_REC_AFTER_CONFIRM

CAMSG_TIMEOUT

CAMSG_ERROR

Params:

hCA (IN) The handle given by the event callback.

Module (IN) The pointer to a string containing the module name.

PriConcept (OUT) The pointer to memory to receive the primary concept string.

PriSize (IN) A pointer to a LONG containing the size of the primary concept buffer.

SecConcept (OUT) The pointer to memory to receive the secondary concept string.

SecSize (IN) Size of the Secondary Concept buffer.

Confidence (OUT) A pointer to a LONG to receive the confidence score for the concept

Notes:

This will retrieve the last confirmed recognition the caller was identified as saying in the module specified.

These values are persistent until the caller re-enters the module or the call ends.

This is a specific call for all natural language module types.

CAPI Only mode: Not supported


Complete Help Topic List | Speech Platform Product Information