Uses of Class
org.languagetool.rules.CategoryId
Packages that use CategoryId
-
Uses of CategoryId in org.languagetool
Fields in org.languagetool with type parameters of type CategoryIdModifier and TypeFieldDescriptionprivate final Set<CategoryId>
InputSentence.disabledRuleCategories
private final Set<CategoryId>
JLanguageTool.disabledRuleCategories
private final Set<CategoryId>
InputSentence.enabledRuleCategories
private final Set<CategoryId>
JLanguageTool.enabledRuleCategories
Methods in org.languagetool that return types with arguments of type CategoryIdModifier and TypeMethodDescriptionJLanguageTool.getCategories()
Get all rule categories for the current language.Methods in org.languagetool with parameters of type CategoryIdModifier and TypeMethodDescriptionvoid
JLanguageTool.disableCategory
(CategoryId id) Disable the given rule category so the check methods likeJLanguageTool.check(String)
won't use it.void
JLanguageTool.enableRuleCategory
(CategoryId id) Enable all rules of the given category so the check methods likeJLanguageTool.check(String)
will use it.boolean
JLanguageTool.isCategoryDisabled
(CategoryId id) Returns true if a category is explicitly disabled. -
Uses of CategoryId in org.languagetool.rules
Fields in org.languagetool.rules declared as CategoryIdModifier and TypeFieldDescriptionstatic final CategoryId
CategoryIds.BARBARISM
A words or expressions that are badly formed according to traditional philological rules, for example a word formed from elements of different languagesstatic final CategoryId
CategoryIds.CASING
Rules about detecting uppercase words where lowercase is required and vice versa.static final CategoryId
CategoryIds.COLLOQUIALISMS
Colloquial style.static final CategoryId
CategoryIds.CONFUSED_WORDS
Words that are easily confused, like 'there' and 'their' in English.static final CategoryId
CategoryIds.GENDER_NEUTRALITY
static final CategoryId
CategoryIds.GRAMMAR
private final CategoryId
Category.id
static final CategoryId
CategoryIds.MISC
Miscellaneous rules that don't fit elsewhere.static final CategoryId
CategoryIds.PUNCTUATION
static final CategoryId
CategoryIds.REDUNDANCY
static final CategoryId
CategoryIds.SEMANTICS
static final CategoryId
CategoryIds.STYLE
static final CategoryId
CategoryIds.TYPOGRAPHY
static final CategoryId
CategoryIds.TYPOS
static final CategoryId
CategoryIds.WIKIPEDIA
Rules that only make sense when editing Wikipedia (typically turned off by default in LanguageTool).Fields in org.languagetool.rules with type parameters of type CategoryIdModifier and TypeFieldDescriptionprotected Set<CategoryId>
LanguageDependentFilter.disabledCategories
Methods in org.languagetool.rules that return CategoryIdConstructors in org.languagetool.rules with parameters of type CategoryIdModifierConstructorDescriptionCategory
(CategoryId id, String name) Category
(CategoryId id, String name, Category.Location location) Category
(CategoryId id, String name, Category.Location location, boolean onByDefault) Category
(CategoryId id, String name, Category.Location location, boolean onByDefault, String tabname) -
Uses of CategoryId in org.languagetool.tools
Method parameters in org.languagetool.tools with type arguments of type CategoryIdModifier and TypeMethodDescriptionstatic void
Tools.selectRules
(JLanguageTool lt, Set<CategoryId> disabledCategories, Set<CategoryId> enabledCategories, Set<String> disabledRules, Set<String> enabledRules, boolean useEnabledOnly)