Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
git clone git@bitbucket.org:mittagqi/hunspell-dictionaries-for-languagetool.git

Add the file languagetool-server.properties to the same directory, where your languagetool installation directory is (not inside it, but same level).Integrate the languagetool-server.properties to the start command that starts your languagetool server, for example in your init.d start script, that it looks like this (the following code block. Please note:

  • if you do not use ngrams, omit the "--languageModel ./ngrams" part

...

  • the command below is expected to be run inside the languagetool installation directory
Code Block
languagebash
java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --config ../hunspell-dictionaries-for-languagetool/languagetool-server.properties --languageModel ./ngrams &

...