blob: b2760578e19c66c852ed109e2e92b0954f126140 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Introduction
[LanguageTool] is an Open Source proofÂreading software for English, French,
German, Polish, and more than 20 other languages.
You can use the LanguageTools with a [firefox-plugin].
This is a Dockerfile to get the languagetools running on a system without java.
[LanguageTool]: https://www.languagetool.org/
[firefox-plugin]: https://addons.mozilla.org/firefox/addon/languagetoolfx/
# Usage
The Server is running on port 8010, this port should exposed.
$ docker pull silviof/docker-languagetool
[...]
$ 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
|