I have a LT Instance as a Docker. It works fine.
I wondering how I can add custom words to a global dictionary.
I found this one here: Improving Spell Checking | dev.languagetool.org
But where should I save the spelling_global.txt or how can I add words? I downloaded LT6.3 and only found spelling.txt files and no spelling_global.txt file. → so it seems to me that I have to add a spelling_global.txt file. But where should I place it, so that it will work?
I would like to add a spelling_global.txt file to my Docker Container:
COPY ngrams/ /languagetool/ngram-data/
COPY server.properties /languagetool/server.properties
RUN wget https://languagetool.org/download/LanguageTool-6.2.zip &&
unzip LanguageTool-6.2.zip &&
CMD [“java”, “-cp”, “languagetool-server.jar”, “org.languagetool.server.HTTPServer”,“–languageModel”,“/languagetool/ngram-data/”,“–config”, “/languagetool/server.properties”, “–port”, “8081”, “–public”, “–allow-origin”, “‘*’”]