Back to LanguageTool Homepage - Privacy - Imprint

How to compile dictionary file .dic to .dict?

(yangbo) #1

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 say)

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

the last error is
Exception in thread "main" java.lang.RuntimeException: Cannot read file: /lt/frequency-data/freeWordFreqsGaia/de_free_gaia.xml

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

(Daniel Naber) #2

You can get the file at, but you can also skip it. I've added a comment to the script how to do that.

(yangbo) #3

Thanks for your reply.
It's very helpful.