LVCA_GetRawTextA / LVCA_GetRawTextW

LVCA_API BOOL WINAPI LVCA_GetRawTextA(HANDLE hCA, LONG Index, LPSTR RawText, LONG* RawTextSize);

LVCA_API BOOL WINAPI LVCA_GetRawTextW(HANDLE hCA, LONG Index, LPWSTR RawText, LONG* RawTextSize);

Defined as:

LVCA_GetRawText

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)

RawText (OUT) Filled with 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." string.

RawTextSize (IN) Size of RawText.

Notes:

The raw text is the translated BNF path identifed.

If BNF is not utilized the return is identical to LVCA_GetPhrase.


Complete Help Topic List | Speech Platform Product Information