Browse
 
Tools
Rss Categories

API Functions

1 LV_SRE_ActivateGlobalGrammar (Deprecated)

You only need to use this function if you have a grammar in the speech port with same name as a grammar in the global space, and you wish to activate the global grammar. Function int LV_SRE_ActivateGlobalGrammar(HPORT hport,const char* gram_name); Parameters…

2 LV_SRE_ActivateGrammar

If you wish to use an SRGS grammar for decode, you need to activate it. Activating a grammar puts it in the multi-grammar grammarset called LV_ACTIVE_GRAMMAR_SET. The grammars that were activated can then be used for a decode by specifying LV_ACTIVE_GRAMMAR_SET…

3 LV_SRE_AddEvent

Events are added to call log files (special logs generated by the SpeechPort which contain audio for each decode and a host of other information). The call log files are generated in the responses folder located in the installation directory, under the Lang…

4 LV_SRE_AddEventEx

Events are added to call log files (special logs generated by the SpeechPort which contain audio for each decode and a host of other information). The call log files are generated in the responses folder located in the installation directory, under the Lang…

5 LV_SRE_AddFieldToRequest

Adds a custom string to a named field in the call log file. Function int LV_SRE_AddFieldToRequest(HPORT hport, const char* KeyName, const char* String) Parameters hport A handle to the speech port. KeyName Name of the Field which is to be added to the call…

6 LV_SRE_ClearAllFieldsToRequest

Clears all the custom fields added to the request to be via LV_SRE_AddFieldToRequest. Function int LV_SRE_ClearAllFieldsToRequest(HPORT hport) Parameters hport A handle to the speech port. Return Values LV_SUCCESS No errors; all custom fields were cleared.…

7 LV_SRE_ClosePort (Deprecated)

LV_SRE_ClosePort (Deprecated) Closes the port, and releases its resources. Function int LV_SRE_ClosePort(HPORT hport) Parameters hport The port's handle. Return Values LV_SUCCESS The port has been successfully destroyed. LV_INVALID_HPORT The input hport is…

8 LV_SRE_CommitClientPropertySettings

After calling LV_SRE_SetClientPropertyExPermanent once or more (depending on the number of properties one may want to alter), this function must be called eventually to write out the change(s) to the config file on disk. Function int LV_SRE_CommitClientPropertySettings(void)…

9 LV_SRE_CreateClient

Acquires a required license and initializes a speech port client object for a subsequent speech recognition, answering machine detection, DTMF decode or grammar parse operation. The type of license that would be acquired depends on the value set for PROP_EX_LICENSE_TYPE.…

10 LV_SRE_CreateInterpretation

Returns a handle to a data structure representing the results of the semantic interpretation process. The handle must be released with LVInterpretation_Release when you are finished with it. Function H_SI LV_SRE_CreateInterpretation(HPORT hport, int VoiceChannel,…