correct fix for semicolon ponunciation

This commit is contained in:
sonora 2015-08-02 09:12:03 +02:00
parent 8b0ba5cc6f
commit 0c9f9b977c

View file

@ -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)
} }