# 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>
      <action>LISTSPEECHLANGUAGERESOURCES</action>
      <response>SUCCESS</response>
      <responsedata>
        <resource>
          <identifier>66e2899a64a21cef</identifier>
          <languagePack>ENUK</languagePack>
          <sampleRate>16000</sampleRate>
          <loadedTime>2018-10-09T11:34:45Z</loadedTime>
          <customLanguageModel>
            <identifier>MedicalTerms1</identifier>
            <weight>0.1</weight>
          </customLanguageModel>
          <customLanguageModel>
            <identifier>MedicalTerms2</identifier>
            <weight>0.05</weight>
          </customLanguageModel>
          <customWordDatabase>words</customWordDatabase>
        </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` - 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` - 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.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm