I would like to know how to add new words with it’s suggestions to existing dictionary in LT.
Below is the procedure i followed, but i found after updating new words to dictionary it started showing errors on some common prepositions as well (say in, for etc…)
Extracted the text file
java -cp languagetool.jar org.languagetool.tools.DictionaryExporter -i org/languagetool/resource/en/hunspell/en_GB.dict -info org/languagetool/resource/en/hunspell/en_GB.info -o /tmp/out.txt
Removes all the frequencies
Added my new words
java -cp languagetool.jar org.languagetool.tools.SpellDictionaryBuilder de-DE /path/to/out.txt org/languagetool/resource/en/hunspell/en_GB.info - -o /tmp/en_GB.dict
Copied the file into dictionary path.
I am missing clarity on how to choose this frequency (say “+E”) for my new work that i am going to add to my dictionary.