mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Merge remote-tracking branch 'ValdisVitolins/master'
This commit is contained in:
@@ -2451,8 +2451,13 @@ void *TranslateClause(Translator *tr, FILE *f_text, const void *vp_input, int *t
|
||||
c = ' '; // terminate digit string with a space
|
||||
space_inserted = 1;
|
||||
}
|
||||
} else {
|
||||
if (prev_in != ',') {
|
||||
} else { // Prev output is not digit
|
||||
if (prev_in == ',') {
|
||||
// Workaround for several consecutive commas —
|
||||
// replace current character with space
|
||||
if (c == ',')
|
||||
c = ' ';
|
||||
} else {
|
||||
decimal_sep_count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user