dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Conversion script for German-English and Spanish-German dictionaries

Conversion script for German-English and Spanish-German dictionaries

From: Zeno Gantner <>
Date: Sun, 04 Jun 2006 19:53:43 +0200

Hello everybody,

at the moment, I do not use Rockbox, but it certainly looks cool ;-).

However, I am interested in free dictionaries and getting them running on
every possible platform.

I wrote a small script that can be used to convert files from the format used
by Frank Richter's Linux dictionary program, ding, to the Rockbox dictionary

I wrote it primarily to be able to convert the Spanish-German word list that I
am maintaining, but there are also other word lists it can be applied to:
(German-Turkish, German-Kurdish, Turkish-Kurdish, English-Kurdish, Swedish-Sorani, ...)

The word lists mentioned are all distributable under GPL, so it should be no
problem to package them together with Rockbox.

I have still some questions, and there is one thing I am not satisfied with considering
the conversion script:
1. says all words should
    be lower case. I have added a command line parameter call --lowercase to accomplish
    this (Be sure to run the program in an environment where a suitable locale is set).
    I ask myself, however, whether this is really necessary. Isn't it possible to display
    the words as they should be displayed, and to have a case insensitive search?
2. The same page says the file must be sorted alphabetically. What is the exact sort
    ordering that is expected? There are several possibilities, e.g. proper alphanumerical
    ordering vs. ordering by ASCII value of the characters.
3. (the one thing I am not satisfied with)
    The lower case conversion does not seem to work for UTF-8 files. I also tried Perl's utf8
    pragma, but it didn't help. If anyone has experience with Perl and UTF-8, please step in ;-)

If you like the conversion script, feel free to add it to your CVS, it is under GPL 2 or later.

If you have any suggestions or questions, just send me an email.

With kind regards,
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!

Received on 2006-06-04

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy