Languagetool, verified and packaged by Elestio
10K+
A better community platform for the modern web.
Languagetool is an Open Source proofreading software for English, Spanish, French, German, Portuguese, Polish, Dutch, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect.is an Open Source proofreading software for English, Spanish, French, German, Portuguese, Polish, Dutch, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect.
You can now use LanguageTool REST API like this:
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' -d 'text=hey%20whats%20up&language=auto&enabledOnly=false' 'https://[CI_CD_DOMAIN]/v2/check'
Go to the LangagueTool website and choose the app or Add-on of your choice. In our case, we will choose Chrome
In google chrome, go to the extensions tab and choose Grammar & Spell Checker.
Click on the cog wheel at the bottom right of the tab
Go to the very bottom of the page and choose Advanced settings
In the drop-down menu choose the button Other server. And type your server address. For you, it will be: https://[CI_CD_DOMAIN]/v2 Save
That's all. Now you can go in Gmail for example, and type a mail. LanguageTool will do the job!
Deploy a fully managed languagetool on elest.io Free & Source Available Messaging Platform for Marketing, Support & Sales .
You can deploy it easily with the following command:
git clone https://github.com/elestio-examples/languagetool.git
Copy the .env file from tests folder to the project directory
cp ./tests/.env ./.env
Edit the .env file with your own values.
mkdir -p ./datastorage
chown -R 1000:1000 ./datastorage
Run the project with the following command
docker-compose up -d
You can access the Web UI at: http://your-domain:8010
Here are some example snippets to help you get started creating a container.
version: "3"
services:
languagetool:
image: elestio/languagetool:${SOFTWARE_VERSION_TAG}
ports:
- 172.17.0.1:8010:8010
environment:
- langtool_languageModel=/ngrams
- Java_Xms=512m
- Java_Xmx=1g
volumes:
- ./data:/ngrams
| Variable | Value (example) |
|---|---|
| SOFTWARE_VERSION_TAG | latest |
The Elestio Languagetool Docker image sends the container logs to stdout. To view the logs, you can use the following command:
docker-compose logs -f
To stop the stack you can use the following command:
docker-compose down
To make backup and restore operations easier, we are using folder volume mounts. You can simply stop your stack with docker-compose down, then backup all the files and subfolders in the folder near the docker-compose.yml file.
Creating a ZIP Archive For example, if you want to create a ZIP archive, navigate to the folder where you have your docker-compose.yml file and use this command:
zip -r myarchive.zip .
Restoring from ZIP Archive To restore from a ZIP archive, unzip the archive into the original folder using the following command:
unzip myarchive.zip -d /path/to/original/folder
Starting Your Stack Once your backup is complete, you can start your stack again with the following command:
docker-compose up -d
That's it! With these simple steps, you can easily backup and restore your data volumes using Docker Compose.
Content type
Image
Digest
sha256:eb2a128d2…
Size
432.2 MB
Last updated
29 days ago
docker pull elestio/languagetool:v6.8Pulls:
1,708
Last week