44 lines
815 B
YAML
44 lines
815 B
YAML
# regex pairs to clean the text before speaking
|
|
- - ([^.])\.$
|
|
- \1
|
|
- - '&'
|
|
- '&'
|
|
- - '<'
|
|
- <
|
|
- - '>'
|
|
- '>'
|
|
- - '"'
|
|
- '"'
|
|
- - '''
|
|
- ''''
|
|
- - '©'
|
|
- '©'
|
|
- - '®'
|
|
- '®'
|
|
- - ' '
|
|
- ' '
|
|
- - '"'
|
|
- ''
|
|
- - ' biases '
|
|
- ' bias''s '
|
|
- - ex\.
|
|
- for example
|
|
- - e\.g\.
|
|
- for example
|
|
- - ' ESG '
|
|
- ' E.S.G. '
|
|
- - ' FY '
|
|
- ' F.Y. '
|
|
- - ([0-9]+)-([0-9]+)
|
|
- \1 to \2
|
|
# F5-TTS mispronunciation A/B — uncomment to enable each fix.
|
|
# preprocess() re-reads this file per request, so toggles are live.
|
|
# Provenance — actual: "prahvanans" (per fox)
|
|
- - (?i)\bProvenance\b
|
|
- prahvanans
|
|
# Providence — actual: "prav-uh-dence" (per fox)
|
|
#- - (?i)\bProvidence\b
|
|
# - Prav-uh-dence
|
|
# xtts has a lot of trouble with these, but piper is fine.
|
|
#- - '[\*=+-]+'
|
|
# - ' '
|