[0]: https://dev.languagetool.org/finding-errors-using-n-gram-dat...
If anyone wants to get set up fast on Windows:
- Server Doc/Download Link: https://dev.languagetool.org/http-server
- ngram Doc/Download Link: https://dev.languagetool.org/finding-errors-using-n-gram-dat...
I've had success with Amazon Corretto jre8 64x for my Java[0][1] and I use this bat file to launch it upon reboot (put it in the same folder as languagetool-server.jar):
SET PATH=C:\program files\Amazon Corretto\jre8\bin\
start javaw -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --allow-origin "\*" -l en-US --languageModel "C:\LanguageTool\LanguageTool-5.4\ngram"
Set path just adds jre8 to bat's path context (there are multiple other ways to accomplish this). "start" just hides the black cmd window while the server is running. --languageModel must be the fully qualified path to the ngram.You can automate executing this script either using Windows' scheduled tasks or just putting a shortcut to it in the Startup Folder (Win+R enter shell:common startup).
And don't forget to re-configure the browser extension. The setting is in Experimental Settings -> LanguageTool API Server URL -> Local Server
[0] https://corretto.aws/downloads/latest/amazon-corretto-8-x64-... [1] https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/do...
It's Spanish demo only highlights some mechanical punctuation, gender, and plurality errors though it has one useful suggestion for a word that is too specialized.
Useful, for sure, but Grammarly is much more helpful, pointing out things like run-on sentences, clauses that lack parallel verbs, and things like that. Maybe it's better in English, but hopefully Language Tool can get to that level one day.
The golden chalice appears to be a self-hosted solution!
If a person needs a server to figure out grammar, it's time to go back to school or crack open an English book.
Eg, Log4j vulnerability was found by, Chen Zhaojun of Alibaba Cloud Security Team. His first language is probably Mandarin, while English is 2nd or 3rd Language. He then mailed the Apache team via mail. He would have used such tools for this important mail to properly deliver and explain what exactly he found.
This highlights perfectly the danger of tools which send data to a cloud service and why they should never be used in such a context.
An email coming from a respected source that has 'warning urgent vulnerability' will be given due consideration regardless of the grammar used.