File size: 503 Bytes
2a8b06e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ef251c2
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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.
#- - '[\*=+-]+'
#  - ' '