Browse
 
Tools
Rss Categories

API Functions

11 LV_SRE_CreateParseTree

Returns a handle to a speech parse tree, representing the sentence structure of what was decoded by the Speech Engine, according to the active grammars. When done with the parse tree handle, it must be released with LVParseTree_Release. Function H_PARSE_TREE…

12 LV_SRE_DeactivateGrammar

Remove a grammar from the set of active grammars. Function int LV_SRE_DeactivateGrammar(HPORT hport, const char* gram_name) Parameters hport The handle of the speech port for which you are deactivating the grammar. gram_name The identifier for the grammar…

13 LV_SRE_DeactivateGrammars

Clears the active grammar set. Function int LV_SRE_DeactivateGrammars(HPORT hport) Parameters hport The handle of the speech port for which you are deactivating grammars. Return Values LV_SUCCESS All grammars in the active grammar set have been deactivated.…

14 LV_SRE_Decode

Processes the voice channel audio data against the active grammar. This is the manual process of telling the Engine to perform a recognition. The two most common reasons to use this function are to perform off-line decodes on existing audio or to programatically…

15 LV_SRE_DestroyClient

Safely destroys a speech port, releasing control of the acquired license and other associated resources back to the server. Function int LV_SRE_DestroyClient(HPORT hport) Parameters hport The port's handle. Return Values LV_SUCCESS The port has been successfully…

16 LV_SRE_DTMFDecode

LV_SRE_DTMFDecode This function passes a string of digits delimited by whitespace through an active voice grammar and provides a semantic interpretation. Instead of performing speech recognition on audio, this function is used only to evaluate the semantic…

17 LV_SRE_GetAvailableLanguageCount

Returns the number languages available on the ASR server. Function int LV_SRE_GetAvailableLanguageCount(void) Return Values Non-negative number The actual number of languages available to the ASR engine. LV_TIME_OUT The sending of the request to the ASR server…

18 LV_SRE_GetAvailableLanguageIndex

Provides the language identifier string of an available language on the ASR server. Function int LV_SRE_GetAvailableLanguageIndex(int index, char* language, int length) Parameters index The index of the language for which the identifier string is requested.…

19 LV_SRE_GetAvailableLicensesCount

Provides the sum of the number of licenses currently available on all connected license servers. Function unsigned int LV_SRE_GetAvailableLicensesCount(const char* license_type) Parameters license_type The type of license (such as SpeechPort or VoxLite) for…

20 LV_SRE_GetCallGuid

LV_SRE_GetCallGuid This function is used to get the ID used in callsre logging. Function int LV_SRE_GetCallGuid(HPORT hport, char* CallGuid, int CallGuidLength); Parameters hport The port's handle. CallGuid A pointer to the container to receive the call ID.…