From e3c61884c59064ecdf5bed8bf941a413ccc8c6b1 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Mon, 28 Apr 2008 18:12:14 +0000 Subject: Small tweak for festival to correct the spelling of 'A', fixes FS#8889 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17282 a1c6a512-1295-4272-9138-f99709370657 --- tools/voice.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } } } -- cgit v1.2.3