Back to LanguageTool Homepage - Privacy - Imprint

Wrong doc for server?

If I call:

java -jar languagetool-server.jar

The doc for the config file says:

‘languageModel’ - a directory with ‘1grams’, ‘2grams’, ‘3grams’ sub directories which contain a Lucene index each with ngram occurrence counts; activates the confusion rule if supported (optional)

But in fact the directory to be passed is not the one with ‘1grams’, ‘2grams’, ‘3grams’ sub directories, but the one with ‘en’, ‘de’, etc. subdirectory

The doc for the CLI option is a bit better as it contains “per language”:

–languageModel a directory with ‘1grams’, ‘2grams’, ‘3grams’ sub directories (per language) which contain a Lucene index (optional, overwrites ‘languageModel’ parameter in properties files)

But still maybe can be phrased better?