AWSTranscribeCreateVocabularyRequest

Objective-C

@interface AWSTranscribeCreateVocabularyRequest

Swift

class AWSTranscribeCreateVocabularyRequest
  • The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see table-language-matrix.

    Declaration

    Objective-C

    @property (nonatomic) AWSTranscribeLanguageCode languageCode;

    Swift

    var languageCode: AWSTranscribeLanguageCode { get set }
  • An array of strings that contains the vocabulary entries.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable phrases;

    Swift

    var phrases: [String]? { get set }
  • Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSTranscribeTag *> *_Nullable tags;

    Swift

    var tags: [AWSTranscribeTag]? { get set }
  • The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:

    https://s3.<Amazon Web Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>

    For example:

    https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

    For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

    For more information about custom vocabularies, see Custom vocabularies.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable vocabularyFileUri;

    Swift

    var vocabularyFileUri: String? { get set }
  • The name of the vocabulary. The name must be unique within an Amazon Web Services account. The name is case sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable vocabularyName;

    Swift

    var vocabularyName: String? { get set }