Create and Manage Lists

Many IDOL Speech Server tasks require you to send an action that includes a list of words or files. For example, the LanguageModelBuild task requires a list of training text files. IDOL Speech Server has a list manager that allows you to easily create and manage lists.

Note: You can also create a list in a text file on a drive that the server can access, instead of using the list manager.

Create and Edit Lists

You first create a list in the list manager, and then populate it by sending each list entry as a separate action. You can delete individual entries or the entire list.

To create a list

For example:

http://localhost:13000/action=AddList&Key=TrainingText

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to create a new list called TrainingText.

To add a list entry

For example:

http://localhost:13000/action=AddListLine&Key=TrainingText&Line=T:\Data\testFile.txt

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to add the entry T:\Data\testFile.txt to the TrainingText list.

To delete a list entry

For example:

http://localhost:13000/action=DelListLine&Key=TrainingText&Line=T:\Data\testFile.txt&Once=True

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to delete the entry T:\Data\testFile.txt wherever it appears in the TrainingText list.

To delete a list

For example:

http://localhost:13000/action=DelList&Key=TrainingText

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to delete the TrainingText list.

View Lists

You can view the names of the lists in the list manager, or view the entire contents of an individual list.

To view all lists

For example:

http://localhost:13000/action=ShowAllLists

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to display the names of all lists in the list manager.

To view the contents of a list

For example:

http://localhost:13000/action=ShowList&Key=TrainingText

This action uses port 13000 to instruct IDOL Speech Server, which is located on the local machine, to display all entries in the TrainingText list.

Use Lists in Actions

After you create and populate your lists, you can use them in IDOL Speech Server actions by setting the relevant parameter to ListManager/Key, where Key is the name of the list.

For example:

http://localhost:13000/action=AddTask&Type=AudioSecurity&File=C:\data\Sample.wav&Out=SampleSec.ctm&TemplateList=ListManager/alarmTemplates

The AudioSecurity task requires a list of alarm templates to identify the alarms that it detects. The TemplateList parameter specifies the alarmTemplates list in the list manager.


_HP_HTML5_bannerTitle.htm