Nov. 26, 2023, 10:32 p.m. | Gardner Bickford

DEV Community dev.to

Setting up LanguageTool is easy. If you have DNS ad blocking enabled then you will want to disable abTesting as described in this post.





docker-compose.yml



services:
languagetool:
image: silviof/docker-languagetool:latest
restart: unless-stopped
command: java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8010 --public --allow-origin '*' --config /etc/http_server.cfg
ports:
- 127.0.0.1:8010:8010
volumes:
- ./ngrams:/ngrams
- ./http_server.cfg:/etc/http_server.cfg





Download ngrams


These weigh about 8.3GB



mkdir ngrams
wget https://languagetool.org/download/ngram-data/ngrams-en-20150817.zip
(cd ngrams && unzip ../ngrams-en-20150817.zip)
rm -f ngrams-en-20150817.zip





Disable …

abtesting blocking command dns docker docker-compose easy etc grammar grammarly image instance java ngrams offline privacy public self-hosted server services will

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

AI Engineering Manager

@ M47 Labs | Barcelona, Catalunya [Cataluña], Spain