ITranscribeCreateVocabularyRequest
Interface in AWS.Transcribe
Interface for CreateVocabulary requests.
Ancestors
Properties
DataAccessRoleArn
property DataAccessRoleArn: TARN
Specify the Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket containing your input files.
LanguageCode
property LanguageCode: string
Specify the language code that represents the language of your custom vocabulary.
Valid values: af-ZA | ar-AE | ar-SA | da-DK | de-CH | de-DE | en-AB | en-AU | en-GB | en-IE | en-IN | en-US | en-WL | es-ES | es-US | fa-IR | fr-CA | fr-FR | he-IL | hi-IN | id-ID | it-IT | ja-JP | ko-KR | ms-MY | nl-NL | pt-BR | pt-PT | ru-RU | ta-IN | te-IN | tr-TR | zh-CN | zh-TW | th-TH | en-ZA | en-NZ | vi-VN | sv-SE. Note that US English (en-US) is the only language supported with Amazon Transcribe Medical.
Phrases
property Phrases: TList<string>
Specify a list of terms or phrases to include in the custom vocabulary.
If you specify Phrases, do not specify VocabularyFileUri. They are mutually exclusive.
Tags
property Tags: TList<ITranscribeTag>
Type: ITranscribeTag
Specify a list of tags to associate with the new custom vocabulary.
VocabularyFileUri
property VocabularyFileUri: string
Specify the Amazon S3 location (URI) of the text file containing your custom vocabulary.
The URI must be in the same AWS region as the resource you're calling. If you specify VocabularyFileUri, do not specify Phrases. They are mutually exclusive.
VocabularyName
property VocabularyName: string
Specify a unique name for the custom vocabulary.
Methods
AddPhrase
function AddPhrase(const APhrase: string): Integer;
Add a phrase to Phrases.
Parameters
| Name | Description |
|---|---|
APhrase | Specify a phrase to add to Phrases. |
Returns
Returns the index of the phrase added to Phrases.
AddTag
function AddTag(const AKey, AValue: string): Integer;
Add a key-value pair to Tags.
Parameters
| Name | Description |
|---|---|
AKey | Specify a key for the tag. |
AValue | Specify a value for the tag. |
Returns
Returns the index of the tag added to Tags.