Avoid pause many English TTS voices introduce after period

This commit is contained in:
sonora 2017-06-20 07:24:34 +02:00
parent 6ccd9ebcc6
commit 806b4efa7c

View file

@ -630,6 +630,7 @@ public class VoiceRouter {
}
if ((player != null) && ("en".startsWith(player.getLanguage()))) {
pn = pn.replace("SR", "S R"); // Avoid SR (as for State Route or Strada Regionale) be pronounced as "Senior" in English tts voice
pn = pn.replace("Dr.", "Dr"); // Avoid pause many English TTS voices introduce after period
}
}
return pn;