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: