Browse
 
Tools
Rss Categories

Methods

1 LVSpeechPort::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 LVSpeechPort::ActivateGlobalGrammar(const char* gram_name); Parameters gram_name…

2 LVSpeechPort::ActivateGrammar

If you wish to use a speech port's loaded 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…

3 LVSpeechPort::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 LVSpeechPort::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 LVSpeechPort::AddFieldToRequest

Adds a custom string to a named field in the call log file. Function int AddFieldToRequest(const char* KeyName, const char* String) Parameters KeyName Name of the Field which is to be added to the call log file. String String value to be assigned to the new…

6 LVSpeechPort::ClearAllFieldsToRequest

Clears all the custom fields added to the request to be via AddFieldToRequest. Function int ClearAllFieldsToRequest(void) Return Values LV_SUCCESS No errors; all custom fields were cleared. LV_FAILURE Returned if the port is in the process of shutting down.…

7 LVSpeechPort::ClosePort (Deprecated)

Closes the port, and releases its resources. Function int ClosePort() Return Values LV_SUCCESS The port has been successfully destroyed. LV_INVALID_HPORT The port is not valid (either CreateClient has not been called or DestroyClient / ClosePort has already…

8 LVSpeechPort::CommitClientPropertySettings

After calling 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 static int CommitClientPropertySettings…

9 LVSpeechPort::CreateClient

Acquires a required license and initializes the 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 LVSpeechPort::DeactivateGrammar

Remove a grammar from the set of active grammars. Functions int DeactivateGrammar(const char* gram_name) Parameters gram_name The identifier for the grammar being deactivated. This is the same identifier that was given to the grammar when it was loaded. Return…