better tts intonation for semicolon-separated values
This commit is contained in:
parent
f985b00a90
commit
59b9c9b99c
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(";", "; "); // Trailing blank prevents punctuation being pronounced
|
pn = pn.replace(";", ", "); // Trailing blank prevents punctuation being pronounced. Replace by comma for better intonation.
|
||||||
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