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
).
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.
Parameter | Description | Required |
---|---|---|
File | The audio file. Specify the full path, file name, and file extension. | See Comments |
The language code. | Yes | |
OutputEncoding | The encoding to use for the action output. | |
TaskData | The binary data block to process. | See Comments |
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. |
You must set one of File or TaskData.
|