CmdID / aws / aws transcribe
aws transcribe create-medical-vocabulary
Creates a new custom medical vocabulary. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To create a medical custom vocabulary
The following create-medical-vocabulary example creates a custom vocabulary. To create a custom vocabulary, you must have created a text file with all the terms that you want to transcribe more accurately. For vocabulary-file-uri, specify the Amazon Simple Storage Service (Amazon S3) URI of that text file. For language-code, specify a language code corresponding to the language of your custom vocabulary. For vocabulary-name, specify what you want to call your custom vocabulary.
aws transcribe create-medical-vocabulary --vocabulary-name cli-medical-vocab-example --language-code language-code --vocabulary-file-uri https://amzn-s3-demo-bucket.AWS-Region.amazonaws.com/the-text-file-for-the-medical-custom-vocabulary.txtIdentify--vocabulary-nameA unique name, chosen by you, for your new custom medical vocabulary.--language-codeThe language code that represents the language of the entries in your custom vocabulary.--vocabulary-file-uriThe Amazon S3 location (URI) of the text file that contains your custom medical vocabulary.Its output
{
"VocabularyName": "cli-medical-vocab-example",
"LanguageCode": "language-code",
"VocabularyState": "PENDING"
}For more information, see Improving transcription accuracy with medical custom vocabularies in the Amazon Transcribe Developer Guide.
Options
--language-codeThe language code that represents the language of the entries in your custom vocabulary.--tagsAdds one or more custom tags, each in the form of a key:value pair, to a new custom medical vocabulary at the time you create this new custom vocabulary.--vocabulary-file-uriThe Amazon S3 location (URI) of the text file that contains your custom medical vocabulary.--vocabulary-nameA unique name, chosen by you, for your new custom medical vocabulary.