Back to LanguageTool Homepage - Privacy - Imprint

Disabling and enabling rules

(Aditya) #1

Hello everyone,
I have just started using language_check. Is there any way I can enable or disable certain rules? Also, is the spell check rule on by default? If not, please guide me to do so. Thank you in advance.

(Daniel Naber) #2

I'm not sure what you mean by that - is this something you downloaded from What exactly is the name of the command you're calling? The options of our command-line client are documented here.

(Aditya) #3

I am using language_check to flag errors in my text dataset. Now, I do not want language check to detect errors if it violates certain rules (u'EN_QUOTES', u'COMMA_PARENTHESIS_WHITESPACE', u'WHITESPACE_RULE' in my case).
How do I pass the disable argument in the following code:

import language_check
tool = language_check.LanguageTool('en-US')
matches = tool.check(text)

(Daniel Naber) #4

Maybe someone here knows that script, but it's probably better to contact the author directly.

Unable to install language_check on MacOS Sierra 10.12.2
(Aditya) #5

Yes, I found that. Sorry for the inconvenience.