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).