get rid of hearing "semicolon" in some tts engines

This commit is contained in:
sonora 2015-07-31 16:20:53 +02:00
parent 5996dddf82
commit 3d594d6acb

View file

@ -584,6 +584,7 @@ public class VoiceRouter {
if(pn != null) {
pn = pn.replace('-', ' ');
pn = pn.replace(':', ' ');
pn = pn.replace(';', ','); //some tts engines actually annoyingly pronounce this as "semicolon"
if ((player != null) && (!"de".equals(player.getLanguage()))) {
pn = pn.replace("\u00df", "ss"); // Helps non-German tts voices to pronounce German Strasse (=street)
}