ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Language​Tool

by gtarawneh ST2/ST3

Proof-reading and grammar checker for English, French, German, Polish and 20+ other languages

Details

Installs

  • Total 3K
  • Win 2K
  • OS X 531
  • Linux 577
Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12
Windows 5 6 2 8 6 10 10 10 13 10 8 8 11 5 4 2 4 5 10 4 8 4 9 3 1 1 6 3 2 2 4 1 8 5 3 3 4 4 3 7 5 3 8 3 5 2
OS X 2 1 3 2 3 0 4 3 3 1 2 8 2 0 1 2 0 0 2 1 3 3 0 2 1 0 1 0 1 1 0 1 1 4 3 2 1 3 0 1 2 1 2 3 1 1
Linux 1 1 1 3 0 0 0 1 0 1 2 5 5 2 1 2 1 2 0 2 1 0 2 2 0 1 1 3 1 1 0 1 0 2 0 3 3 1 2 0 2 4 2 0 0 3

Readme

Source
raw.​githubusercontent.​com

Brief Summary

This is a simple adapter to integrate LanguageTool (an open source proof-reading program) into Sublime Text 2/3.

From https://www.languagetool.org/:

LanguageTool is an Open Source proof­reading program for English, French, German, Polish, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect and several grammar problems.

Installation

If you're using Package Control then open up the command palette (ctrl+shift+p), type install, press Enter then type languagetool and press Enter again.

To get the latest updates before they get released, install via Package Control: Add Repository. This will update your plugin with new commits as they are being pushed to the repo.

Usage

Open the file you want to proof-read then:

  1. Run a language check (ctrl+shift+c). Any problems identified by LanguageTool will be highlighted.
  2. Move between the problems using alt+down (next) and alt+up (previous).
  3. A panel at the bottom will display a brief description of the highlighted problem and suggest corrections if available.
  4. Begin typing to correct the selected problem or press alt+shift+f to apply the suggested correction.
  5. To ignore a problem, press alt+d.
  6. Auto-correcting a problem or ignoring it will move focus to the next problem.

All commands and their keyboard shortcuts are in the command palette with the prefix LanguageTool:.

Server Configuration

The adapter POSTs the text to be checked to a LanguageTool server via https. There are two server settings (local and remote) that can be configured and one must be selected as default (although command palette variants of Check Text can be used to check text via a specific server).

The remote server is initially configured (in the file LanguageTool.sublime- settings) as https://languagetool.org:8081/. There are few limitations on checking texts using this public server including:

  1. Maximum text size of 50Kb
  2. Access limited to 20 requests/minute per IP

(See http://wiki.languagetool.org/public-http-api for full details.)

For better performance and to check texts without the above limitations you can download LanguageTool then run and configure the adapter to use your own LanguageTool server.

License

This plugin is freely available under GPLv2 or later.

Contributing

Feel free to fork and improve. All contributions are welcome.