get rid of hearing "semicolon" in some tts engines
This commit is contained in:
parent
5996dddf82
commit
3d594d6acb
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue