Since Vale Server focuses (primarily) on writing style rather than grammatical correctness, integrating with LanguageTool provides a nice balance of functionality: Vale Server will enforce your style guide while LanguageTool checks your grammar.
Additionally, by using this add-on, you also get to take advantage of Vale Server's understanding of markup—which LanguageTool lacks altogether on its own.
The first step is to install LanguageTool's standalone desktop application.
After downloading and unzipping the
LanguageTool-x.x folder, select your
installation location from Vale Server's extension preferences
Preferences -> Extensions):
LanguageTool requires Java 8 or later. If
Java is already installed, it will show up under "Java" automatically. You can
also manually enter your own path to a
Once you have the required fields configured, click "Apply & Restart". If the LanguageTool server started successfully, you'll see its URL displayed above the settings:
If you the LanguageTool server failed to start, see the
Server Log option
from the context menu for more information.
Currently, only rules listed in the
TYPOS categories are enabled.
Once LanguageTool is running in the background, you simply need to add
LanguageTool to your
BasedOnStyles list in one of your projects:
You'll now see results from LanguageTool in our client plugins.
By default, Vale Server will give LanguageTool 2 seconds of processing time before moving it to the background and showing its cached results on another invocation (typically a file-save event in an editor).
You can increase this
value by providing another value for
ProcessTimeout in your configuration