To use this software you must be legal owner of the license for the dictionary!
Unless you are: buy the dictionary!
Read the license! It probably limits the usage to one computer and one user! Produced dictionary has the same copyright as original. You are not owner of the data - you have to follow the license!
You are not allowed to distribute the produced dictionaries. Script is only for personal use. No warranty. GNU GPL License.
Created for devices/platforms not supported by Lingea, like PowerPC Linux, Psion 5MX, Apple iPhone, Nokia cellphones with Symbian, ...
The decoding follows Nomad's specification, my work was done just by guessing and reverse engineering of .trd file, NOT BY CRACKING LINGEA BINARIES. This software was NOT written by Lingea s.r.o. and there is no connection to that company.
Copyright © 2007 Klokan Petr Přidal.
Save the file and run:
python lingea-trd-decoder.py lg_XXXX.trdFor now, only 100% supported dictionaries are:
These dictionaries are available in bookstores or you can order them from www.lingea.cz. Czech-English dictionary was also on the DVD of CHIP 10/2007.
Other Lingea dictionaries could follow (byte streams for records are read, so problem is only in decoding of structure for more complicated records). Study the source and Nomad's docs if you would like to help.
Patches for the source code are welcome.
I do NOT provide any user support for the script, it was mine free time activity and I did it to have a nice dictionary on one of unsupported devices (like Apple iPhone, Nokia with Symbian or Psion 5mx). Let me know if you do some changes.
There is a mac application DictUnifier and sdconv command line utility doing this conversion.
It expects .bz2 archive of the dictionary, therefore you have to create the archive of your Lingea dictionary.
A huge collection of dictionaries is available here, so download and run the DictUnifier is usually enough.
Scripts for conversion:
Produced .opf dictionary must be converted to binary file with extension .mobi (= .prc) by running:(wine) mobigen.exe DICTIONARY.opfmobigen.exe is available at: http://www.mobipocket.com/soft/prcgen/mobigen.zip
MobiPocket project supports platforms: PalmOs, Windows Mobile, Symbian (Series 60, Series 80, 90, UIQ), Psion, Blackberry, Franklin, iLiad (by iRex), BenQ-Siemens, Pepper Pad..
There is a simple proof of concept done in python/GTK called GNU Lexicon, but I think from this project it make sense to use only the idea of better GUI for stardict and usage of regular expressions for conversion of text based dictd/stardict dictionaries into a html form. I planed to include native support for WordNet and for flection, so I did a small research into freely available natural language tools.
It should be done the same way like commercial voices from Infovox iVox do.
Do you know about some freely available tools? Let me know. ;-)