Skip to content

Lexicon

Structure Class

Lexicon dataclass

Bases: _SerdeShape

Provides lexicon name and lexicon content in string format. For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0.

Attributes

content class-attribute instance-attribute
content: str | None = ...

Lexicon content in string format. The content of a lexicon must be in PLS format.

name class-attribute instance-attribute
name: str | None = ...

Name of the lexicon.