Back to LanguageTool Homepage - Privacy - Imprint

Grammar check only


(Balaji) #1

Hi,

I want GRAMMAR checks (Punctuation, Tense, etc... ) only, not misspelled words. For that, what type of settings, I have to do ?

Thanks in advance !!!


(Daniel Naber) #2

Spell checking is a rule, you can turn it off in the configuration dialog. If you're using the API, you can turn off rules with disableRule() (https://languagetool.org/development/api/org/languagetool/JLanguageTool.html#disableRule%28java.lang.String%29). To find a rule id, go to languagetool.org, enter some text that causes the error you want to disable, click on the error and then on "Rule implementation..."


(Balaji) #3

Hi,

Thanks for your reply. I am unable to find the 'Spell-checking' rule id.
Pl help me with that ID.

Thanks in Advance.


(Daniel Naber) #4

It depends on the language. For English (US), it's MORFOLOGIK_RULE_EN_US.