rdoeffinger / DictionaryPC

Java code to generate dictionaries for QuickDic Android app (see Dictionary repo). Fork of project that used to be hosted at code.google.com/p/quickdic-dictionary
Apache License 2.0
16 stars 8 forks source link

K;V to dctionary file #1

Closed setop closed 7 years ago

setop commented 7 years ago

Is there already a piece of code which allow to convert a key;value text file into a dictionary file ?

rdoeffinger commented 7 years ago

There is --input0Format=tab_separated which seems close enough. Or --input0Format=chemnitz which seems to be separated by :: (double colon). Overall command should be something like (untested): ./run.sh --lang1=$lang1 --lang2=$lang2 --dictOut=out.quickdic --dictInfo="My dictionary." --input0=tabinput.txt --input0Name=wordSource --input0Format=tab_separated

setop commented 7 years ago

And it actually works ! This opens doors to custom dictionary. Thanks a lot.