Open MikeUnwalla opened 2 years ago
ignore_spelling
only refers to the spelling rule, I don't think it's supposed to ignore all other rules. Exceptions like these should instead be added to the specific rule.
ignore_spelling only refers to the spelling rule,
Yes. But EN_A_VS_AN
is the spelling rule.
But EN_A_VS_AN is the spelling rule.
The fact that is has type ITSIssueType.Misspelling
is not enough to make it a spelling rule in that sense. Only dictionary-based spelling rules (hunspell/Morfologik) obey the ignore_spelling
attribute.
Only dictionary-based spelling rules (hunspell/Morfologik) obey the ignore_spelling attribute.
This information is missing from https://dev.languagetool.org/developing-a-disambiguator#ignoring-in-spell-checking-rules.
Java rule EN_A_VS_AN does not respect
ignore_spelling
(https://dev.languagetool.org/developing-a-disambiguator#ignoring-in-spell-checking-rules).This rule does not prevent EN_A_VS_AN from giving a warning for the test sentence above: