[Kde-accessibility] ktts - literature

Gary Cramblitt garycramblitt at comcast.net
Fri Dec 24 01:04:00 CET 2004


On Thursday 23 December 2004 09:47 am, Mikolaj Machowski wrote:
> There is regular Festival voice for Polish. Short description of
> installation:
>
> 1. Download voice package from:
> http://www.artegence.com/download/voicexml/speech/festival_polish_voice.tgz
> 2. Copy directory cstr_pl_em_diphone into festival file tree. According
>    to voice docs it should be /usr/share/festival/lib/voices/polish
>    but for me it works also for Mdk hierarchy
>    /usr/share/festival/voices/polish
>    (KTTS finds it in both locations but completely don't know what to do
>    with it).
>
> 3. Modifications to /usr/share/festival/lib/languages.scm:
>  a) Main section:
> (define (language_polish)
> "(language_polish)
> Set up language parameters for Polish."
>
>   (set! female voice_cstr_pl_em_diphone)
>
>   (female)
>   (Parameter.set 'Language 'polish)
> )
>
> [MM: voice can be also defined as male1, but didn't spot any difference]
>
>  b) Ending  select_language definition modification :
>    ((equal? language 'polish)
>     (language_polish))
>
> This is all.
>

Good!  I will add this to the KDE Handbook and add support for encoding option 
in Festival Interactive plugin.  Are you set up to build from CVS?

> Important thing for KDE: text MUST be in ISO-8859-2 encoding. NOT utf-8.
>
> Now returning to 1st point from previous letter - pre-plugins. I don't
> know why but this voice doesn't accept many special signs, eg. . and
> , reads literally - kropka (dot), przecinek (comma); breaks on all types
> of brackets, etc. There have to be possibility to filter those signs
> out. I will try to write or get script and send it later.
>
> I was able to add this voice through 'Command' option but it doesn't
> read Polish diacritics - probably issues with encoding.

The Command plugin already has an option for encoding.  Did you choose 8859-2?

Send me some sample text please.  Probably have to put it in a file and attach 
to avoid mail mangling.

-- 
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php


More information about the kde-accessibility mailing list