Skip to content

Commit 08213c2

Browse files
committed
Added another set of expressions to reduce the verbosity of IBMTTS
1 parent b60a7fa commit 08213c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

addon/synthDrivers/ibmeci.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@
9797
re.compile(br'\b(\d{1,3}),(000),(\d{1,3}),(\d{1,3})\b'): br'\1\2\3\4',
9898
re.compile(br'\b(\d{1,3}),(000),(\d{1,3}),(\d{1,3}),(\d{1,3})\b'): br'\1\2\3\4\5',
9999
re.compile(br'\b(\d{1,3}),(000),(\d{1,3}),(\d{1,3}),(\d{1,3}),(\d{1,3})\b'): br'\1\2\3\4\5\6',
100+
#Remove the two spaces separator between strings containing left and right brackets and parentheses, to reduce the verbosity in IBMTTS.
101+
re.compile(br'([\(\[]+) (.)'): br'\1\2',
102+
re.compile(br'(.) ([\)\]]+)'): br'\1\2',
100103
}
101104
spanish_fixes = {
102105
# Euros

0 commit comments

Comments
 (0)