diff options
Diffstat (limited to 'mms-ox-publish.org')
-rw-r--r-- | mms-ox-publish.org | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mms-ox-publish.org b/mms-ox-publish.org index 4c3adbb..1871d64 100644 --- a/mms-ox-publish.org +++ b/mms-ox-publish.org @@ -87,3 +87,26 @@ Finally, I want to have quick access ) #+end_src +* Language tool + +#+begin_src emacs-lisp + (use-package languagetool + :ensure t + :commands (languagetool-check + languagetool-clear-suggestions + languagetool-correct-at-point + languagetool-correct-buffer + languagetool-set-language + languagetool-server-mode + languagetool-server-start + languagetool-server-stop) + :config + (setq languagetool-java-arguments '("jexec" "ltex" "java" "-Dfile.encoding=UTF-8") + languagetool-java-bin "doas" + languagetool-console-command "/root/ltex/languagetool-commandline.jar" + languagetool-console-arguments '("--languagemodel" "/var/ngrams/" "-l" "en") + languagetool-server-command "/root/ltex/languagetool-server.jar")) + + (defun languagetool-console-command-exists-p () t ) + +#+end_src |