Interface: TextToSpeechPhonemizerConfig
Defined in: types/tts.ts:41
Configuration for the Phonemizer used in Text-to-Speech models. Phonemization is the process of converting text into phonetic representations.
Properties
lang
lang:
TextToSpeechLanguage
Defined in: types/tts.ts:45
The language code for phonemization (e.g., 'en-us').
lexiconSource?
optionallexiconSource:ResourceSource
Defined in: types/tts.ts:57
Optional resource for the pronunciation lexicon. If provided, it wil be a primary phonemization mechanism.
neuralModelSource?
optionalneuralModelSource:ResourceSource
Defined in: types/tts.ts:64
Optional neural model resource for Grapheme-to-Phoneme conversion. Serves as a fallback for lexicon or a primary phonemization mechanism if lexicon is not defined.
taggerSource?
optionaltaggerSource:ResourceSource
Defined in: types/tts.ts:51
Optional resource for the part-of-speech tagger. Utilized by more challenging languages, such as english.