switching to high quality piper tts and added label translations
This commit is contained in:
@@ -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
|
||||
"""
|
||||
Reference in New Issue
Block a user