agents
agents copied to clipboard
wip: advanced preprocessing [english]
Additional TTS preprocessing for:
- Brackets <> - removes HTML-like tags: "Hello <tag>world" → "Hello world"
- Replace newlines with periods - converts line breaks: "First\nSecond" → "First Second"
- Format numbers - converts to words: "I have 5 apples" → "I have five apples"
- Currency - "$42.50" → "forty two dollars and fifty cents"
- Dates - "2024-12-25" → "Wednesday, December 25, 2024"
- Phone numbers - "555-123-4567" → "5 5 5 1 2 3 4 5 6 7"
- Emails - "[email protected]" → "john at example dot com"
- Percentages, distances, units, times, acronyms
@longcw one thing: not sure if we need to enable some of these things by default