AI Newsletter Digest improvements: fixed QP soft line break decoding, URL extraction, and content cleaning

This commit is contained in:
Krilly
2026-03-04 13:29:22 +00:00
parent 29a98137a7
commit 57dd294675
13706 changed files with 2114953 additions and 237629 deletions

View File

@@ -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
"""