TTS-OPENAI-FREE / pre_process_map.default.yaml
imseldrith's picture
Upload folder using huggingface_hub (#5)
ef251c2 verified
raw
history blame
503 Bytes
# regex pairs to clean the text before speaking
- - ([^.])\.$
- \1
- - '&'
- '&'
- - '<'
- <
- - '&gt;'
- '>'
- - '&quot;'
- '"'
- - '&#x27;'
- ''''
- - '&copy;'
- '©'
- - '&reg;'
- '®'
- - '&nbsp;'
- ' '
- - '"'
- ''
- - ' biases '
- ' bias''s '
- - ex\.
- for example
- - e\.g\.
- for example
- - ' ESG '
- ' E.S.G. '
- - ' FY '
- ' F.Y. '
- - ([0-9]+)-([0-9]+)
- \1 to \2
# xtts has a lot of trouble with these, but piper is fine.
#- - '[\*=+-]+'
# - ' '