deftdawg / plugin-languagetool

Quickly correct grammar and style mistakes in ONLYOFFICE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

Find and correct grammar and style mistakes.

The plugin uses LanguageTool, multilingual grammar and style checker.

It is compatible with self-hosted and desktop versions of ONLYOFFICE editors. It can be added to ONLYOFFICE instances manually.

How to use

  1. Open the Plugins tab and click on LanguageTool.
  2. Select the text you want to be checked.
  3. Choose your language (it can be detected automatically or set manually).
  4. Alternatively, you can insert text for correction manually. To do so, type new text in the field on left panel or edit already selected text (this will only affect the translation, the original text will remain unchanged). Click Check.
  5. Choose the corrections to be applied to your text. They will appear in the text in the field on the left panel.
  6. To replace the selected text in your document with the corrected text from the field, click Replace.

How to install

Detailed instructions can be found in ONLYOFFICE API documentation.

How to install

Detailed instructions can be found in ONLYOFFICE API documentation.

Using your service

You can install LanguageTool to your own server and send requests to it.

To do so, you need to change the url address of the serviceUrl variable in the ./scripts/langTool.js file.

About

Quickly correct grammar and style mistakes in ONLYOFFICE

License:Apache License 2.0


Languages

Language:JavaScript 64.7%Language:HTML 26.8%Language:CSS 8.5%