LVCA_GetPhraseA / LVCA_GetPhraseW

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.

LVCA_API BOOL WINAPI LVCA_GetPhraseA(HANDLE hCA, LONG Index, LPSTR Phrase, LONG* PhraseSize);

LVCA_API BOOL WINAPI LVCA_GetPhraseW(HANDLE hCA, LONG Index, LPWSTR Phrase, LONG* PhraseSize;

Defined as:

LVCA_GetPhrase

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 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., 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 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. that doesn't go anywhere. code and message.

Supported on Events:

CAMSG_REC_BEFORE_CONFIRM

Params:

hCA (IN) Call handle passed into function

Index (IN) range = 0 to (count Count is used when setting up a No Input A No Input occurs when the system is expecting a response and the caller doesn't say anything., No Match A No Match occurs when the caller says something the system doesn't recognize. For example, if the system asks the caller "Do you prefer coffee or tea?" and they reply "Juice," their response would be considered a No Match., or Error. No Inputs, No Matches, and Errors are marked by their count (#1, #2, #3, and so on). For example, a No Match #1 will play the first time a caller says something the system doesn't understand. A No Match #2 will go into effect the second time in a row that a caller says something the system doesn't understand. - 1)

Phrase (OUT) Filled with Phrase string.

PhraseSize (IN) Size of Phrase.

Notes:


Complete Help Topic List | Speech Platform Product Information