[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
punctuation.scm
From: |
Milan Zamazal |
Subject: |
punctuation.scm |
Date: |
Mon, 03 Aug 2009 10:22:25 +0200 |
>>>>> "PL" == Pierre Lorenzon <devel at pollock-nageoire.net> writes:
PL> Before entering the method (utt.relation_tree utt 'Word)
PL> returns :
>> --
PL> ((("Bonjour" ((id "_2") (name "Bonjour"))))
PL> (("." ((id "_3") (name ".")))))
>> -- End
PL> And after the method has been applied we have :
>> --
PL> ((("Bonjour" ((id "_2") (name "Bonjour"))))
PL> (("." ((id "_3") (name "."))))
PL> (("." ((id "_4") (name ".")))))
>> -- End
PL> It means that the "." has been duplicate. Why ? Is the French
PL> Tokenization not correct (I mean not compatible with
PL> speech-dispatcher.scm ?)
Hi Pierre,
try to add French language identifier(s) as returned by the call
(Param.get 'Language)
to punctuation-punc-languages variable defined at the beginning of
punctuation.scm file and tell me whether it helps.
One of the practical problems with Festival is that there is no fixed
text processing schema, so it's impossible to handle all possible
situations in festival-freebsoft-utils nor it is easy to define what's
correct or compatible. We have to resolve each problem individually.
BTW, what package do you use for French in Festival?
- punctuation.scm, Pierre Lorenzon, 2009/08/01
- punctuation.scm,
Milan Zamazal <=