[kde-edu]: [KTouch] perl-generator

Julien Richard-Foy julien.rf at no-log.org
Fri Sep 26 18:58:41 CEST 2008


I forward a previous mail sent to the current maintainer of KTouch with no 
answer...
I hope here is the right place.
Julien

----------  Message transmis  ----------

Sujet : [KTouch] perl-generator
Date : dimanche 7 septembre 2008
De : "Julien Richard-Foy" <julien.rf at no-log.org>
À : haavard at users.sourceforge.net

Hi,

I played a bit with the perl training generator and found one bug : the end 
tag "</KTouchLecture>" was not right (the "/" was missing).
BTW I added the ability to specify the title of a training file directly from 
the configuration file.

I found that the python generator was really interesting too, especially with 
the "type" parameter for each level, specifying the kind of word that has to 
be generated. I don't know Perl at all, since I was not able to add this 
feature to the current perl generator (and even if I was able to do it, I did 
not find a smart way to modify the configuration files format without breaking 
the curent format).
Do you plan to improve the perl generator ? Or maybe I could modify the python 
generator to produce the current xml format... But I think it would be nicer 
if we could have only one generator to maintain.

In addition, I got troubles with non-ascii characters when I tried to generate 
training files. My conf file is encoded in utf-8, my console too, but when the 
file is generated I see wrong characters instead of non-ascii characters. 
Where's my mistake ? I joined the conf file and the generated training file to 
this email. Maybe you could help me...

Greetings,
Julien Richard-Foy

-------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fr_bepo2.ktouch.xml
Type: application/xml
Size: 10127 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-edu/attachments/20080926/5a87cb9d/attachment.xpdl 
-------------- next part --------------
length-of-line 20
number-of-line 5
title Fran??ais b??po (auto-g??n??r??)

te
si
ru
na
vo
TSRNEIUAVO
dp
DP
l??
L??
jb
JB
c,??
C;??
mz
MZ
??w
??W
'.
?:
kq
QK
gx
GX
yh
YH
??f
??F
????????????
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 878 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-edu/attachments/20080926/5a87cb9d/attachment.diff 


More information about the kde-edu mailing list