Valid XHTML 1.0 Transitional

The DictdToDictionaryForMIDs (GUI) Documentation.

Let's have an example on how to convert a Dictd dictionary file into an input file for DictionaryGeneration. Say we have a Dictd dictionary file from freedict.org called freedict-eng-fra that we would like to convert into the DictionaryForMIDs format. We should follow these steps:



Launching the dictionary conversion preferences summary window

Conversion Preferences Window

Converting the dictionary file

Hit the Proceed button to convert the dictionary file. If everything goes well you should find the file under the output directory you provided, with the name of the database + '-converted.txt' (i.e freedict-eng-fra-converted.txt)

Known Bugs:

There is a known bug related to the dictionary conversion (Bug-09062012). It happens during the conversion of some freedict.org bilingual dictionaries. The bug causes DictdToDictionaryForMIDs to write in the converted dictionary file a line like the following:

<pre> java.lang.NullPointerException at org.dict.kernel.Database.readAll(Database.java:395) at org.dict.kernel.Database.defineMatch(Database.java:52) at org.dict.kernel.DictEngine.defineMatch(DictEngine.java:72) at org.dict.kernel.DictEngine.lookup(DictEngine.java:149) (...) at java.lang.Thread.run(Thread.java:722) \n\nAvailable dictionaries: freedict-eng-fra</pre>

Hopefully the causes of this bug will be discovered and then the bug will be fixed. Hopefully this will be done in a future version of DictionaryForMIDs-Creator. For the time being, the only way to get rid of those nasties is to edit the converted file manually. So, if your input dictionary file is from freedict.org (is a freedict dictionary), open the converted file and remove the line starting from <pre> to </pre> along with all the text between them. Be careful not to delete some text that actually belong to the dictionary.