ResourceSelection

When sent an audio file and language code, the ResourceSelection action returns a list of language packs that are appropriate to use in tasks that process the supplied audio.

For IDOL Speech Server to recommend a language pack:

You can search using the base language code (for example, EN) or the full code (for example, ENUS).

Example

http://localhost:13000/action=ResourceSelection&File=C:\data\sample.wav&Lang=ENUK

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to recommend British English language packs that can be used with the sample.wav file.

http://localhost:13000/action=ResourceSelection&Lang=EN&File=C:\data\sample.wav

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to recommend language packs that cover the base language EN that you can use with the sample.wav file.

Parameters

Parameter Description Required
ActionID A string to use to identify an ACI action.  
EncryptResponse Encrypt the output.  
File The audio file. Specify the full path, file name, and file extension. Yes
FileName The file to write output to.  
ForceTemplateRefresh Forces the server to load the template from disk.  

Lang

The language code. Yes
Output Write output to a file.  
OutputEncoding The encoding to use for the action output.  
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.  

_HP_HTML5_bannerTitle.htm