LexiconAttributes¶
Structure Class¶
LexiconAttributes
dataclass
¶
Bases: _SerdeShape
Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.
Attributes¶
alphabet
class-attribute
instance-attribute
¶
alphabet: str | None = ...
Phonetic alphabet used in the lexicon. Valid values are ipa,
x-sampa, x-amazon-pinyin, x-amazon-jyutping, x-amazon-pron-kana,
and x-amazon-yomigana.
language_code
class-attribute
instance-attribute
¶
language_code: str | None = ...
Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.
last_modified
class-attribute
instance-attribute
¶
last_modified: datetime | None = ...
Date lexicon was last modified (a timestamp value).
lexemes_count
class-attribute
instance-attribute
¶
lexemes_count: int = ...
Number of lexemes in the lexicon.