switching to high quality piper tts and added label translations

This commit is contained in:
Matthias Hinrichs
2026-01-29 23:48:19 +01:00
commit d80c619df9
3934 changed files with 1451600 additions and 0 deletions
@@ -0,0 +1,16 @@
def initialize(data_dir: str) -> None: ...
"""Initialize espeak-ng."""
def set_voice(voice: str) -> None: ...
"""Set the espeak-ng voice by name."""
def get_phonemes(text: str) -> list[tuple[str, str, bool]]: ...
"""
Convert input text to a list of (phonemes, terminator, end_of_sentence) tuples.
Returns:
A list where each item is:
phonemes: str - IPA phonemes for a clause
terminator: str - punctuation mark indicating clause type (".", "?", "!", ",", ":", ";")
end_of_sentence: bool - True if the clause ends a sentence
"""