I'm playing with aws-sdk
(version 2.1063.0) in NodeJs and the AWS Transcribe service. I'm planning to upload audio files with unknown language codes, and have AWS Transcribe detect the language and then transcribe the text.
However, the docs for AWS Transcribe and startTranscriptionJob
shows that LanguageCode
isn't required: https://docs.aws.amazon.com/transcribe/latest/dg/API_StartTranscriptionJob.html
Yet when i run my code, i see the error MissingRequiredParameter: Missing required key 'LanguageCode' in params
Even in the AWS Transcribe web portal, i'm able to upload audio files with "Automatic Language Detection" as an option. I'd like to do the same programmatically.
Does anyone have suggestions? I saw Aws Transribe unable to start_transcription_job without LanguageCode in boto3 , but wasn't able to apply it to my javascript/node code
You have to set "IdentifyLanguage": true
in --identify-language
https://docs.aws.amazon.com/ja_jp/cli/latest/reference/transcribe/start-transcription-job.html
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.