Media Server 24.1

# ListSpeechLanguageResources

Lists the language resources that you have loaded for speech-to-text processing. This action does not list resources that were loaded automatically by Media Server.

TIP: Media Server automatically loads any resources that are needed to run speech-to-text, but you can load resources before sending a `process` action, so that processing can begin without delay.

You can load a language resource with the action LoadSpeechLanguageResource. Language resources that you load remain in memory until you unload them with the action UnloadSpeechLanguageResource, or until Media Server is stopped. To automatically load language resources when Media Server starts, use the configuration parameter SpeechLanguageResources in the `[PersistentData]` section of the configuration file.

Type: synchronous

## Example

    /action=ListSpeechLanguageResources

## Response

The following is an example response that shows a single language resource:

    <autnresponse xmlns:autn="http://schemas.autonomy.com/aci/">
        <action>LISTSPEECHLANGUAGERESOURCES</action>
        <response>SUCCESS</response>
        <responsedata>
            <resource>
                <identifier>abf1e4e58ee2171384937b5afa36377a</identifier>
                <languagePack>ENUS</languagePack>
                <sampleRate>16000</sampleRate>
                <loadedTime>2023-03-10T12:40:15Z</loadedTime>
                <customWordDatabase/>
                <modelVersion>small</modelVersion>
            </resource>
        </responsedata>
    </autnresponse>

The response includes the following information:

- `identifier` - a unique identifier for the language resource, that you can use to unload the resource with the action UnloadSpeechLanguageResource.
- `languagePack` - the base language pack.
- `sampleRate` - the sample rate of audio that can be processed using this language resource.
- `loadedTime` - the time when the language resource was last loaded. If you retrain a custom language model by running the action TrainCustomSpeechLanguageModel, Media Server automatically reloads any language resources that use it. Speech-to-text tasks begin using an updated language resource automatically following a short pause and without missing any audio.
- `customLanguageModel` - (supported by legacy models only) this element can appear zero or more times. Each `customLanguageModel` element provides the identifier and interpolation weight of a custom language model that has been included in the language resource.
- `customWordDatabase` - (supported by legacy models only) the name of the custom word database. A custom word database is an optional part of a language resource, so this element can be empty.
- `modelVersion` - the speech-to-text model loaded in this resource (for more information about the models that are available, see the ModelVersion parameter).

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Media Server 24.1

Topic Title: ListSpeechLanguageResources