Create dictionary
The sources are downloadable from the sourceforge SVN source repository.
The dictionary input file is a simple text file with the following structure:
Language1text|language2text
or
Languag1text;language1text2;Languag1text3|Language2text
or
Language1text|Language2text;language2text2;language2text3
In one line there are 2 language strings separated by | character.
You can use synonyms in one line but only in one language side.
The synonyms separated by ; sign.
So, do not use it in the translations other than separate the synonyms.
For examples check one of the dictionary database files.
For example the German-English dictionary source:
http://mdictionary.svn.sourceforge.net/viewvc/mdictionary/Databases/MDicDB-GEEN_Lite/trunk/ge-en-uni.txt?view=log
If you can compile the DicCreator and set all constatnts in the source (dbhandler.h) you can also generate a database by yourself.
You can also send me your appropriate text file and i generate the database.
How does it work
Let’s say this is the input file.
x(3)|A(4);B;b;C(6)
x|D(8)
y|B;b;Z
z|E
z|T
u;o;p|W
U|a,b
U,V,n|a
[...]
Where
- minuscules are words,
- upper case letters are sentences,
- semicolons are synonym separators,
- numbers are different expressions those do not take significant part of the translations.
- parentheses are parentheses
- | is the delimiter of the two languages
After the database creation you will see the A(4);B;b;C(6);D(8) results
by searching for the x and you will get the x(3);y by searching for b.
You can not directly looking for 3,4,6,8 and upper case letters (sentences).
Utility programs
DbShell:
A command line Database browser, http://garawaa.googlepages.com/