Display Configured Resources

Use the following procedure to display details of all resources that are configured and available for use in tasks.

To display all configured resources

For example:

http://localhost:13000/action=ListResources&Type=lang&Found=True

This action uses port 13000 to instruct HPE IDOL Speech Server, which is located on the local machine, to return a list of all configured lang resources that are on disk.

HPE IDOL Speech Server returns resource details in XML format. For example:

<autnresponse>
     <action>LISTRESOURCES</action>
     <response>SUCCESS</response>
     <responsedata>
         <resources>
               <resource>
                   <name>ENUK</name>
                   <type>lang</type>
                   <found>TRUE</found>
                   <licensed>TRUE</licensed>
                   <lang>ENUK</lang>
                   <sampleRate>16000</sampleRate>
               </resource>
               <resource>
                   <name>ENUS</name>
                   <type>lang</type>
                   <found>TRUE</found>
                   <licensed>TRUE</licensed>
                   <lang>ENUS</lang>
                   <sampleRate>8000</sampleRate>
               </resource>
       </resources>
     </responsedata>
 </autnresponse> 

For each resource, HPE IDOL Speech Server returns the following information.

name The name of the resource as specified in the configuration file.
type The resource type (lang, langvt, fpdb, or sidbase).
found Whether the resource was found on disk.
licensed Whether a license to use the resource is available. HPE IDOL Speech Server returns the value Unknown if it cannot determine the resource language code.
lang The language code associated with the resource. HPE IDOL Speech Server returns the value Unknown if it cannot determine the resource language code, or N/A for resource types that are language independent.
sampleRate The sample rate associated with the resource. HPE IDOL Speech Server returns the value Unknown if it cannot determine the sample rate.

_HP_HTML5_bannerTitle.htm