0

AWS lists supported languages for Transcribe here: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html

Short of parsing the documentation page, is there any way to get a list of these languages programmatically?

ListLanguageModels seemed promising, but it's only for custom models.

Brad
  • 159,648
  • 54
  • 349
  • 530

1 Answers1

1

You can access all available languages in AWS JS SDK directly. Check the source code.

// For regular transcription...
// https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transcribe/enums/languagecode.html
TranscribeClient.LanguageCode

// For streaming transcription...
// https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transcribe-streaming/enums/languagecode.html
TranscribeStreamingClient.LanguageCode
Brad
  • 159,648
  • 54
  • 349
  • 530
Mehmet Güngören
  • 2,383
  • 1
  • 9
  • 16
  • Nice, good find. Do you see any similar list for the languages supported for streaming transcription? I see `CLMLanguageCode`, but doesn't seem to completely match. – Brad Jan 30 '23 at 22:12
  • Found it! https://github.com/aws/aws-sdk-js-v3/blob/2c2f92abaf6558299c57e57a92d66c1e7df77b72/clients/client-transcribe-streaming/src/models/models_0.ts#L844 – Brad Jan 30 '23 at 22:14