You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::TranscribeService::Types::CreateVocabularyFilterRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::TranscribeService::Types::CreateVocabularyFilterRequest
- Defined in:
- (unknown)
Overview
When passing CreateVocabularyFilterRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
vocabulary_filter_name: "VocabularyFilterName", # required
language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
words: ["Word"],
vocabulary_filter_file_uri: "Uri",
}
Instance Attribute Summary collapse
-
#language_code ⇒ String
The language code of the words in the vocabulary filter.
-
#vocabulary_filter_file_uri ⇒ String
The Amazon S3 location of a text file used as input to create the vocabulary filter.
-
#vocabulary_filter_name ⇒ String
The vocabulary filter name.
-
#words ⇒ Array<String>
The words to use in the vocabulary filter.
Instance Attribute Details
#language_code ⇒ String
The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.
Possible values:
- af-ZA
- ar-AE
- ar-SA
- cy-GB
- 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
- ga-IE
- gd-GB
- 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
#vocabulary_filter_file_uri ⇒ String
The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the
VocabularyFilterFileUri
parameter, you can\'t use the Words
parameter.
#vocabulary_filter_name ⇒ String
The vocabulary filter name. The name must be unique within the account
that contains it. If you try to create a vocabulary filter with the same
name as another vocabulary filter, you get a ConflictException
error.
#words ⇒ Array<String>
The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
If you provide a list of words in the Words
parameter, you can\'t use
the VocabularyFilterFileUri
parameter.