🙇🏻‍♂️ handtyped

Local grammar checker with Dockerised LanguageTool and pyLanguagetool CLI

Continues at LanguageTool browser extension with local instance of LanguageTool

Aim

Run a text file through a grammar checker.

Tools

Setup

Install pyLanguagetool:

pip install pylanguagetool

Start LanguageTool:

docker-compose.yml:

1services:
2    languagetool:
3        image: erikvl87/languagetool
4        ports:
5            - '8081:8010'

docker compose up -d

Configure pyLanguagetool to use the local LanguageTool instance:

~/.config/pyLanguagetool.conf:

api-url = http://localhost:8010/v2/

Run grammar check:

pylanguagetool checkme.txt

#software