From 67417bc9a8a35415ead3071b477ef5008ec49fdb Mon Sep 17 00:00:00 2001 From: Silvio Fricke Date: Fri, 30 Mar 2018 10:06:23 +0200 Subject: add ngrams support Please add a volume option to `docker run` command like `-v /path/to/ngrams:/ngrams`. This fixes #5. Signed-off-by: Silvio Fricke --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 2842c99..b276057 100644 --- a/readme.md +++ b/readme.md @@ -20,3 +20,13 @@ The Server is running on port 8010, this port should exposed. $ docker run --rm -p 8010:8010 silviof/docker-languagetool Or you run it in background via `-d`-option. + + +## ngram support + +To support [ngrams] you need an additional volume or directory mounted to the +`/ngrams` directory. For that add a `-v` to the `docker run`-command. + + docker run ... -v /path/to/ngrams:/ngrams ... + +[ngrams]: http://wiki.languagetool.org/finding-errors-using-n-gram-data -- cgit v1.2.3