Skip to main content
Version: Next

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?

optional lexiconSource: ResourceSource

Defined in: types/tts.ts:57

Optional resource for the pronunciation lexicon. If provided, it wil be a primary phonemization mechanism.


neuralModelSource?

optional neuralModelSource: 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?

optional taggerSource: ResourceSource

Defined in: types/tts.ts:51

Optional resource for the part-of-speech tagger. Utilized by more challenging languages, such as english.