LoadLanguage

Manually loads a language pack. This ensures that the language model required for a task is ready for use, which reduces startup time for tasks that are added later. Manually loaded language packs remain in memory until they are unloaded, so you must manually unload the packs when they are no longer needed (see UnloadLanguage).

The LoadLanguage action is asynchronous by default.

Example

http://localhost:13000/action=LoadLanguage&Name=ENUS

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to load the ENUS language.

Parameters

Parameter Description Required
Name The name of the configuration file section where the language pack is defined. You might also need to specify additional resource-specific parameters. See Comments. Yes
OutputEncoding The encoding to use for the action output.  

This action accepts the following standard ACI action parameters.

Parameter Description
ActionID A string to use to identify an ACI action.
EncryptResponse Encrypt the output.
FileName The file to write output to.
ForceTemplateRefresh Forces the server to load the template from disk.
Output Writes output to a file.
ResponseFormat The format of the action output.
Template The template to use for the action output.
TemplateParamCSVs A list of variables to use for the specified template.

Comments

When you load a language, you might need to set additional resource-specific parameters. For example, to load a custom language model, you must set CustomLm in the LoadLanguage action.

For the list of available language resource action parameters, see [MyResource] Configuration Parameters.


_HP_HTML5_bannerTitle.htm