Package org.languagetool.rules
Class Categories
java.lang.Object
org.languagetool.rules.Categories
Pre-defined rule categories.
- Since:
- 3.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Categories
Rules about detecting uppercase words where lowercase is required and vice versa.static final Categories
Colloquial style.static final Categories
Rules about spelling terms as one word or as as separate words.static final Categories
Words that are easily confused, like 'there' and 'their' in English.static final Categories
False friends: words easily confused by language learners because a similar word exists in their native language.static final Categories
static final Categories
private final String
private final String
static final Categories
Miscellaneous rules that don't fit elsewhere.static final Categories
Created to match PLAIN_ENGLISH XML category.static final Categories
static final Categories
static final Categories
Regionalisms: words used only in another language variant or used with different meanings.static final Categories
static final Categories
Logic, content, and consistency problems.static final Categories
General style issues not covered by other categories, like overly verbose wording.static final Categories
Problems like incorrectly used dash or quote characters.static final Categories
Spelling issues.static final Categories
Rules that only make sense when editing Wikipedia (typically turned off by default in LanguageTool). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCategory
(ResourceBundle messages) getId()
private static Categories
-
Field Details
-
CASING
Rules about detecting uppercase words where lowercase is required and vice versa. -
COMPOUNDING
Rules about spelling terms as one word or as as separate words. -
GRAMMAR
-
TYPOS
Spelling issues. -
PUNCTUATION
-
TYPOGRAPHY
Problems like incorrectly used dash or quote characters. -
CONFUSED_WORDS
Words that are easily confused, like 'there' and 'their' in English. -
REPETITIONS
-
REDUNDANCY
-
STYLE
General style issues not covered by other categories, like overly verbose wording. -
PLAIN_ENGLISH
Created to match PLAIN_ENGLISH XML category. -
GENDER_NEUTRALITY
-
SEMANTICS
Logic, content, and consistency problems. -
COLLOQUIALISMS
Colloquial style. -
REGIONALISMS
Regionalisms: words used only in another language variant or used with different meanings. -
FALSE_FRIENDS
False friends: words easily confused by language learners because a similar word exists in their native language. -
WIKIPEDIA
Rules that only make sense when editing Wikipedia (typically turned off by default in LanguageTool). -
MISC
Miscellaneous rules that don't fit elsewhere. -
id
-
messageKey
-
-
Constructor Details
-
Categories
-
-
Method Details
-
make
-
getId
-
getCategory
-