Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountSpeakableRunes ¶ added in v1.3.0
CountSpeakableRunes counts letter/digit/CJK runes in s.
func HasSpeakableContent ¶ added in v1.2.0
HasSpeakableContent reports whether text contains letters, digits, or CJK characters.
func IsCloudTTSAcceptable ¶ added in v1.3.0
IsCloudTTSAcceptable reports whether text is safe to send to cloud TTS APIs.
func SanitizeForSpeech ¶ added in v1.2.0
SanitizeForSpeech prepares LLM or ASR text for cloud TTS (strip markdown/emoji, etc.).
Types ¶
Click to show internal directories.
Click to hide internal directories.