Skip to content

VocabularySettingsEntry

Source code in docs_src/capo_transcribe/types/vocabulary_settings_entry.py
class VocabularySettingsEntry(TypedDict, closed=True):
    language: "capo_transcribe.types.sync_language.SyncLanguage"
    """<p>The language this custom vocabulary applies to, as a base language code (for example, <code>en</code>). Each language can appear in only one entry.</p>"""
    vocabulary_name: NotRequired["capo_transcribe.types.vocabulary_name.VocabularyName"]
    """<p>The name of a custom vocabulary you created. The vocabulary must be in the <code>READY</code> state, and its language must match this entry's <code>Language</code>.</p> <p>Vocabulary names are case sensitive.</p> <p>Include either <code>VocabularyName</code> or <code>Phrases</code> in each entry, but not both.</p>"""
    phrases: NotRequired[
        "capo_transcribe.types.vocabulary_phrase_list.VocabularyPhraseList"
    ]
    """<p>Up to 100 phrases to use as a custom vocabulary, provided inline. You don't need to create the vocabulary first.</p> <p>Include either <code>Phrases</code> or <code>VocabularyName</code> in each entry, but not both.</p>"""

language instance-attribute

language: SyncLanguage

The language this custom vocabulary applies to, as a base language code (for example, en). Each language can appear in only one entry.

phrases instance-attribute

phrases: NotRequired[VocabularyPhraseList]

Up to 100 phrases to use as a custom vocabulary, provided inline. You don't need to create the vocabulary first.

Include either Phrases or VocabularyName in each entry, but not both.

vocabulary_name instance-attribute

vocabulary_name: NotRequired[VocabularyName]

The name of a custom vocabulary you created. The vocabulary must be in the READY state, and its language must match this entry's Language.

Vocabulary names are case sensitive.

Include either VocabularyName or Phrases in each entry, but not both.