imseldrith/TTS-OPENAI-FREE
1
1# regex pairs to clean the text before speaking2- - ([^.])\.$3 - \14- - '&'5 - '&'6- - '<'7 - <8- - '>'9 - '>'10- - '"'11 - '"'12- - '''13 - ''''14- - '©'15 - '©'16- - '®'17 - '®'18- - ' '19 - ' '20- - '"'21 - ''22- - ' biases '23 - ' bias''s '24- - ex\.25 - for example26- - e\.g\.27 - for example28- - ' ESG '29 - ' E.S.G. '30- - ' FY '31 - ' F.Y. '32- - ([0-9]+)-([0-9]+)33 - \1 to \234# xtts has a lot of trouble with these, but piper is fine.35#- - '[\*=+-]+'36# - ' '37 