languagetool icon indicating copy to clipboard operation
languagetool copied to clipboard

[en] Testrules gives warning for LT 5.7

Open MikeUnwalla opened this issue 2 years ago • 1 comments

The following testrules warnings occur with https://languagetool.org/download/LanguageTool-5.7.zip:

Running XML pattern tests...
LanguageTool version 5.7 (2022-03-28 18:24:41 +0000, 35d0d40)
<deleted lines>
Checking regexp syntax of 5363 rules for English...
*** WARNING: The English rule: MISSING_PREPOSITION_antipattern:5[null], token [2], contains "every|each" that is not marked as regular expression but probably is one.
*** WARNING: The English rule: MISSING_PREPOSITION_antipattern:5[null], token [3], contains duplicated disjunction part (day) within "January|February|March|April|May|Ju(ne|ly)|August|September|October|November|December|Jan|Feb|Mar|Apr|Ju[ln]|Aug|Sept?|Oct|Nov|Dec|Monday|Wednesday|T(ue|hur)sday|Friday|S(atur|un)day|month|week|day|year|summer|winter|automn|fall|spring".
*** WARNING: The English rule: CONFUSION_DUE_DO[1]_antipattern:4[null], token [2], contains duplicated disjunction part (last) within "next|last|previous|this|every|by|each|first|last|upcoming".
Checking example sentences of 5363 rules for English...
Testing rule 100...
Testing rule 200...

Also, 'automn' is a typo for 'autumn'.

MikeUnwalla avatar Mar 30 '22 07:03 MikeUnwalla

Thanks, it's mostly fixed, except for the second warning, which could be a false alarm.

danielnaber avatar Mar 30 '22 08:03 danielnaber