summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/voice.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/voice.pl b/tools/voice.pl
index 6ffc565401..eb6bfc1bf6 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -132,7 +132,10 @@ sub correct_string {
case "english" {
switch($$tts_object{"name"}) {
case ["sapi","festival"] {
- $string =~ s/plugin(s?)/plug-in$1/ig;
+ $string =~ s/plugin(s?)/plug-in$1/ig; next
+ }
+ case "festival" {
+ $string =~ s/\ba\b/ay/ig;
}
}
}