correct fix for semicolon ponunciation
This commit is contained in:
parent
8b0ba5cc6f
commit
0c9f9b977c
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ public class VoiceRouter {
|
||||||
if(pn != null) {
|
if(pn != null) {
|
||||||
pn = pn.replace('-', ' ');
|
pn = pn.replace('-', ' ');
|
||||||
pn = pn.replace(':', ' ');
|
pn = pn.replace(':', ' ');
|
||||||
pn = pn.replace(';', ','); //some tts engines actually annoyingly pronounce this as "semicolon"
|
pn = pn.replace(';', '; '); // Trailing blank prevents punctuation beng prnoinced
|
||||||
if ((player != null) && (!"de".equals(player.getLanguage()))) {
|
if ((player != null) && (!"de".equals(player.getLanguage()))) {
|
||||||
pn = pn.replace("\u00df", "ss"); // Helps non-German tts voices to pronounce German Strasse (=street)
|
pn = pn.replace("\u00df", "ss"); // Helps non-German tts voices to pronounce German Strasse (=street)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue