How to compile dictionary file .dic to .dict?

Hi, nice to meet you

while the checkspell is slow when get suggestion, so I want to compile a .dict from .dic and .aff file.

I did it use this shell (as Spell check - LanguageTool Wiki say)

languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell/create_dict.sh ar EG

the last error is
Exception in thread “main” java.lang.RuntimeException: Cannot read file: /lt/frequency-data/freeWordFreqsGaia/de_free_gaia.xml
at org.languagetool.tools.DictionaryBuilder.readFreqList(DictionaryBuilder.java:139)
at org.languagetool.tools.SpellDictionaryBuilder.main(SpellDictionaryBuilder.java:61)

I know there isn’t have this file, so what I need to do the next step? Thanks!

You can get the file at gaia/apps/keyboard/js/imes/latin/dictionaries at master · mozilla-b2g/gaia · GitHub, but you can also skip it. I’ve added a comment to the script how to do that.

Thanks for your reply.
It’s very helpful.