mirror of
https://github.com/matatonic/openedai-speech
synced 2025-06-26 18:16:32 +00:00
37 lines
503 B
YAML
37 lines
503 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
|
|
# xtts has a lot of trouble with these, but piper is fine.
|
|
#- - '[\*=+-]+'
|
|
# - ' '
|