DfM-Creator Binaries Download
Latest stable binaries
Generic (jar) version (for all OSes supporting Java) DfM-Creator-0.7-final.jar
GNU/Linux i386 Installer (bundled with Oracle JRE 1.7.40) dfm-creator-0.7-final-linux-i386-with-jre.run
GNU/Linux am64 Installer (bundled with Oracle JRE 1.7.40) dfm-creator-0.7-final-linux-amd64-with-jre.run
DfM-Creator Sources Download
A zip file containing a stable release of DfM-Creator is available
below. Please bear in mind that this zip file contains sometimes
sources that are outdated. If you want to get the latest development
sources, always go to the subversion repository. To check out the repository, code:
svn co https://dictionarymid.svn.sourceforge.net/svnroot/dictionarymid dictionarymid
Latest stable sources here ( DictionaryForMIDs-Creator-0.7-final-src.7z )Note that these are only the DfM-Creator sources. For development purposes you will need some other tools/applications that are dependencies to DfM-Creator. To get all the dependencies, download at least the trunk directory from the subversion repository. To download only the trunk directory, code:
svn co https://svn.code.sf.net/p/dictionarymid/code/trunk dictionarymid_trunk
For a detailed information about the subversion repository of DictionaryForMIDs or how to build DictionaryForMIDs tools and applications, go here
DfM-Creator Older Versions Download
Download Older stable binaries and sources belowChangelog
Release: 0.7-final [26 December, 2013]
- DfM-Creator's FontGenerator now has a command line version. It is invoked as follows:
java -jar DfM-Creator.jar --FontGenerator-CLI INPUT_FONT_FILE INPUT_DICT_DIR FONT_SIZE CLIP_TOP CLIP_BOTTOM
java -jar DfM-Creator.jar -fgc INPUT_FONT_FILE INPUT_DICT_DIR FONT_SIZE CLIP_TOP CLIP_BOTTOM
FONT_SIZE is by default a number value, for instance 16. But it can also use the following wrappers whereas each wrapper represents a set of values automatically passed to FontGenerator for batch font sizes generation. The wrappers' values are defined as follows:
small: 8, 10, 12, 14
medium: 8, 10, 12, 14, 16, 18
large: 8, 10, 12, 14, 16, 18, 20, 22, 24
huge: 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36
Regarding the text value of FONT_SIZE, the case does not matter, so it can be written for instance small, SMALL, SMAll etc. and the same rule applies to the other text options.
- JarCreator naming convention changed from for example:
-DfM_GCIDE_EngDef_3.5.8.zip (the DfM-Creator automatically creates the directories but it is up to the user to create the zip files from the directories.
- Now, DfM-Creator has a simple and nice icon :-)
- The PropertiesEditor's button "Create the Properties File" has been renamed to "Save the Properties File" (overwrites it if it has already been saved)
- A new button "Save Properties File As..." has been added
- "Create the Properties File" does not trigger regexp checking so as to make sure the user entered an email address or any other contact information, in the dictionary infoText. That functionality is broken so it's disabled, for now...
- The button "Edit existing props file" Has been removed because the DictionaryGeneration panel already has "Edit an Existing Properties File"
- The list of languageX postfixes now includes the complete list (found at http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes)
- The button "Path to the Input CSV file" has been renamed to "Input CSV file"
- The button "Properties File's Directory" has been ranamed to "Properties File"; in fact, it's no longer necessary to select the directory "only" and let DfM-Creator try to find the properties file, now you go ahead and select it yourself! But if you choose a file that has a name that is different from the "conventional" properties file name (i.e, DictionaryForMIDs.properties) you get and error message.
- Updated the French language locale file
- Updated Documentation files to the latest DfM-Creator version and features (i.e, DfM-Creator-0.7-final, except for the properties file documentation)
- Gert fixed a bug that prevented the DfM-Creator's JarCreator to load the internal DictionaryForMIDs.jar/jad files on Microsoft Windows while generating jar/jad files.
Release: 0.6Beta [12 February, 2013]
Now, the following can be done with DfM-Creator:
- queue many dictd files to be converted by DictdToDictionaryForMIDs
- queue many csv files to be generated by DictionaryGeneration
- queue many fonts files and font sizes to be created by BitmapFontGenerator
- queue many dictionary files created by DictionaryGeneration, so as to build Jar/Jad files from them, by JarCreator
DfM-Creator generates '.ini' files automatically using the database name and dictionary path entered by the user, if no '.ini' file already exists in the input dictionary directory. DfM-Creator also verifies if the '.dict.dz' -- '.dict' and '.index' files exist before creating the '.ini' files since it will be useless anyway if the files are not there or are not readable.
From the preferences box, it is now possible to choose a locale from among the available ones. The older behaviour was to check the default locale of the system and adjust the locale of DfM-Creator accordingly. However, since DfM-Creator supports only English (U.S.A) and French (France), any other system default locale detected that is different from these, is ignored and the English locale is selected by default.
Empty DictionaryForMIDs.jar/jad are now incorporated inside DfM-Creator. DictionaryForMIDs.jar/jad are compiled and built at DfM-Creator compile time. They are then copied in the directories of DfM-Creator and ant/antenna take care of all the task and the result is a fine DfM-Creator.jar file that comes bundled with DictionaryForMIDs.jar/jad.
The DictionaryForMIDs-Creator PropertiesEditor is now fully able to load a properties file and to make what's necessary (fill the textAreas, the textFields, select/unselect the checkBoxes, select items in ComboBoxes, adjust values in Sliders...) so as to make it possible to directly edit the properties file by taking full advantage of the awesome power of the PropertiesEditor.
Release: 0.5 [25 July, 2012]
NOTE: In the previous versions of DictionaryGeneration, the generated dictionary files
were put directly in the output directory provided by the user. At that time, the user was asked
to make sure the output directory's name that she provided is
DictionaryGeneration, both the GUI and the command line versions create a directory named
dictionary before starting to generate the dictionary files. It is still
required though, that the user provides an output directory because it is in it that the final output
dictionary) is created. For users who automatically set up their
dictionaries through scripts, adapt your scripts accordingly.
Also note that now even JarCreator has a similar behaviour. In its older versions,
JarCreator would write the created jar and jad files right in the output directory provided
by the user, now, it writes them in a directory that it creates just before starting to generate
the files. The name of the directory depends on the name of the final jar/jad files. Recall that
JarCreator creates the name of the jar/jad files from the DictionaryForMIDs.properties
file. If for instance the name of the jar/jad files would be
DFM_EngDef_Wordnet.jad, then the name of the directory in which the above-mentioned
jar/jad files will be writen to would also be
DFM_EngDef_Wordnet but without
the jar/jad extension.
As a final note, keep in mind that both DictionaryGeneration and JarCreator need to have the required permissions (i.e read/write permissions especially on UNIX/Linux) to be able to create these directories in the location that you provided otherwise and exception will be thrown stating that DictionaryGenerator or JarCreator failed to create the directory. And if the directories cannot be created, the dictionary-files/jar-jad-files will not be generated/written.
- Merged the command line versions of DictdToDictionaryForMIDs, DictionaryGeneration,
BitmapFontGenerator and JarCreator into DfM-Creator.
Its now possible to invoke the CLI versions of the above mentioned tools from the command line by calling DfM-Creator in either of the following forms:
- java -jar DfM-Creator-XX-XXXX.jar [--DictdToDictionaryForMIDs] [-dc]
- java -jar DfM-Creator-XX-XXXX.jar [--DictionaryGeneration] [-dg] INPUT_DICTIONARY_FILE OUTPUT_DIRECTORY PROPERTY_DIRECTORY
- java -jar DfM-Creator-XX-XXXX.jar [--JarCreator] [-fg] DICTIONARY_DIRECTORY EMPTY_JAR_DIRECTORY OUTPUT_DIRECTORY
- java -jar DfM-Creator-XX-XXXX.jar [--FontGenerator] [-jc]
P.S: DfM-Creator-XX-XXXX.jar is for DfM-Creator-VERSION-VERSION_STATUS.jar. For instance DfM-Creator-06-Beta
Release: 0.4 [29 June, 2012]
First official DfM-Creator release
Major Implemented Features:
Now you can graphically:
- Convert a Dictd file into the DictionaryForMIDs format
- Generate dictionary files from the input file either provided by DictdToDictionaryForMIDs or manually created from Microsoft's Excel or OpenOffice.org/LibreOffice's Calc
- Pack the generated dictionary files in some empty DictionaryForMIDs Jar/Jad files
- Create a DictionaryForMIDs.properties file with both the PropertiesEditor and the ContentProperties-Creator in an easy and pleasant way.
- Edit an existing DictionaryForMIDs.properties file in order to adapt it, for instance, to another dictionary file.
- Check the integrity of an existing CSV file (the input file for DictionaryGeneration)
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.
Version: 0.4 Beta [April, 2012]
Made it possible to load the FontToolkit (the GUI that was created by Sean Kernohan for FontGenerator) with some minor changes, into the BitmapFontGenerator tab of the DfM-Creator.
Version: 0.3 [March, 2012]
The JarCreator tab was created in the DfM-Creator.
Version: 0.2 [March, 2012]
The DictionaryGeneration tab was created in the DfM-Creator.
Version: 0.1 [January, 2012]
The DictdToDictionaryForMIDs tab was created in the DfM-Creator.
DfM-Creator development started.
Older stable Binaries/Sources/Installers (Linux & Windows | 32 bit & 64 bit)
GNU/Linux i386 Installer (bundled with Oracle JRE 1.7.40) dfm-creator-0.6-beta4-linux-i386-with-jre.run
GNU/Linux am64 Installer (bundled with Oracle JRE 1.7.40) dfm-creator-0.6-beta4-linux-amd64-with-jre.run