blob: 10431d9eef4e7d7808d3c31583f7620cbdd0d305 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
LanguageTool - Grammar Checker for Emacs
========================================
REQUIREMENT
-----------
LanguageTool is used by Emacs for on-demand grammar checking in prose
files (org-mode, markdown, text-mode). It integrates with Flycheck to
provide comprehensive grammar and style suggestions.
USAGE IN EMACS
--------------
- Press C-; ? in an org buffer to run grammar check
- Errors appear in the *Flycheck errors* buffer
- Catches issues like "This are wrong" -> "This is wrong"
INSTALLATION
------------
Arch Linux:
sudo pacman -S languagetool
Note: This will also install a Java runtime (JDK) as a dependency,
approximately 900 MB total.
VERIFICATION
------------
After installation, verify with:
languagetool --version
FILES
-----
- ~/.emacs.d/modules/flycheck-config.el (Flycheck integration)
- ~/.emacs.d/scripts/languagetool-flycheck (Python wrapper script)
- ~/.emacs.d/tests/test-flycheck-languagetool-setup.el (Unit tests)
- ~/.emacs.d/tests/test-integration-grammar-checking.el (Integration tests)
The wrapper script converts LanguageTool's JSON output to Flycheck's
expected format (filename:line:column: message).
|