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 CategoriesRules about detecting uppercase words where lowercase is required and vice versa.static final CategoriesColloquial style.static final CategoriesRules about spelling terms as one word or as as separate words.static final CategoriesWords that are easily confused, like 'there' and 'their' in English.static final CategoriesFalse friends: words easily confused by language learners because a similar word exists in their native language.static final Categoriesstatic final Categoriesprivate final Stringprivate final Stringstatic final CategoriesMiscellaneous rules that don't fit elsewhere.static final CategoriesCreated to match PLAIN_ENGLISH XML category.static final Categoriesstatic final Categoriesstatic final CategoriesRegionalisms: words used only in another language variant or used with different meanings.static final Categoriesstatic final CategoriesLogic, content, and consistency problems.static final CategoriesGeneral style issues not covered by other categories, like overly verbose wording.static final CategoriesProblems like incorrectly used dash or quote characters.static final CategoriesSpelling issues.static final CategoriesRules 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
-