Comments (2)
I just revisited languagetool/lantool.el after a year long break and managed to get everything going.
My solution is bit of a hack, but it is better than nothing.
Languagetool now uses spellcheckers to look for misspelled words. In emacs and org mode it makes more sense to let flyspell do the spellchecking and disable the corresponding languagetool rules.
You can see the names of the matching rules after you have enabled debugging M-x langtool-toggle-debug
and ran M-x langtool-check
on your sample text. The output is in buffer *LanguageTool Debug*
.
I write in American and British English, so I added Morphologic rules for both languages to my disabled rule list:
(setq langtool-disabled-rules '("WHITESPACE_RULE"
"EN_UNPAIRED_BRACKETS"
"COMMA_PARENTHESIS_WHITESPACE"
"EN_QUOTES"
"MORFOLOGIK_RULE_EN_GB"
"MORFOLOGIK_RULE_US"))
You seem to be writing in French. A quick test showed that the most commonly triggered rules are HUNSPELL_NO_SUGGEST_RULE and FRENCH_WHITESPACE. If you use the org option toc:nil
, you might also want to disable the rule NIL. The message claims that it is an Anglicism :). Add the rules that you find to be superfluous to variable langtool-disabled-rules and you should be fine.
from emacs-langtool.
Sorry to answer you very late.
from emacs-langtool.
Related Issues (20)
- Finalize check when all errors are done
- Feature: Enable using the web version of the language tool. HOT 3
- highlight different categories with different color?
- Langtool with Emacspeak
- Problems displaying special characters in the tips
- Question: check region HOT 1
- How do I correct word at point? HOT 3
- A possible way to integrate with LaTeX HOT 2
- why langtool-check only highlight the grammar error but ignore the spell error HOT 1
- How can I install latest version of LanguageTool? HOT 1
- Langtool exiting abnormally after languagetool update from 5.5-2 to 5.6-1 HOT 1
- langtool doesn't seem to handle emails very well.
- User defined ignore-list for words HOT 1
- Use a buffer-local variable for the buffer’s language HOT 2
- Allow running languagetool in a docker HOT 2
- Adding langtool to NonGNU ELPA HOT 1
- No longer maintained? HOT 2
- Offset off when non-BMP characters are in the document
- API features
- langtool-server--ensure-running doesn't work for languagetool installed with package manager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-langtool.