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.
CodePudding user response:
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