When you manually load a language pack, it remains in memory until you unload it, by using the UnloadLanguage action. You can specify language packs by name or ID.
HPE IDOL Speech Server does not always unload the language immediately when you send an UnloadLanguage action. The resource is marked to unload and is automatically unloaded at some point determined by the server.
To unload a language pack by ID
Send an UnloadLanguage action with the ID parameter set to the ID of the language that you want to unload.
For example:
http://localhost:13000/action=UnloadLanguage&ID=22b6832f37d05ec
This action uses port 13000 to instruct HPE IDOL Speech Server, which is located on the local machine, to unload the language pack that has the ID 22b6832f37d05ec.
You can find the resource ID in the response to the GetStatus action.
To unload a language pack by name
Send an UnloadLanguage action with the Name parameter set to the name of the language that you want to unload.
For example:
http://localhost:13000/action=UnloadLanguage&Name=ENUS
This action uses port 13000 to instruct HPE IDOL Speech Server, which is located on the local machine, to unload the ENUS language pack.
If you unload the language by Name, you must also specify any additional parameters that you used when you loaded the language (either when you sent the LoadLanguage action, or when you used an AddTask action that loaded a language).
For example, if you specify CustomLm and DctName in the LoadLanguage action, you might send the following UnloadLanguage action:
http://localhost:13000/action=UnloadLanguage&Name=ENUS&CustomLM=hpe1:0.3:hpe2:0.4&DctFile=hpe
|
|