简体   繁体   中英

Programmatically list supported languages for AWS Transcribe

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM