Uses of Class
org.languagetool.rules.CategoryId
-
Packages that use CategoryId Package Description org.languagetool org.languagetool.rules org.languagetool.tools -
-
Uses of CategoryId in org.languagetool
Fields in org.languagetool with type parameters of type CategoryId Modifier and Type Field Description private java.util.Set<CategoryId>
InputSentence. disabledRuleCategories
private java.util.Set<CategoryId>
JLanguageTool. disabledRuleCategories
private java.util.Set<CategoryId>
InputSentence. enabledRuleCategories
private java.util.Set<CategoryId>
JLanguageTool. enabledRuleCategories
Methods in org.languagetool that return types with arguments of type CategoryId Modifier and Type Method Description java.util.Map<CategoryId,Category>
JLanguageTool. getCategories()
Get all rule categories for the current language.Methods in org.languagetool with parameters of type CategoryId Modifier and Type Method Description void
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 CategoryId Modifier and Type Field Description static 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 CategoryId
CategoryIds. CASING
Rules about detecting uppercase words where lowercase is required and vice versa.static CategoryId
CategoryIds. COLLOQUIALISMS
Colloquial style.static CategoryId
CategoryIds. CONFUSED_WORDS
Words that are easily confused, like 'there' and 'their' in English.static CategoryId
CategoryIds. GENDER_NEUTRALITY
static CategoryId
CategoryIds. GRAMMAR
private CategoryId
Category. id
static CategoryId
CategoryIds. MISC
Miscellaneous rules that don't fit elsewhere.static CategoryId
CategoryIds. PUNCTUATION
static CategoryId
CategoryIds. REDUNDANCY
static CategoryId
CategoryIds. SEMANTICS
static CategoryId
CategoryIds. STYLE
static CategoryId
CategoryIds. TYPOGRAPHY
static CategoryId
CategoryIds. TYPOS
static 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 CategoryId Modifier and Type Field Description protected java.util.Set<CategoryId>
LanguageDependentFilter. disabledCategories
Methods in org.languagetool.rules that return CategoryId Modifier and Type Method Description CategoryId
Categories. getId()
@Nullable CategoryId
Category. getId()
Constructors in org.languagetool.rules with parameters of type CategoryId Constructor Description Category(CategoryId id, java.lang.String name)
Category(CategoryId id, java.lang.String name, Category.Location location)
Category(CategoryId id, java.lang.String name, Category.Location location, boolean onByDefault)
Category(CategoryId id, java.lang.String name, Category.Location location, boolean onByDefault, java.lang.String tabname)
-
Uses of CategoryId in org.languagetool.tools
Method parameters in org.languagetool.tools with type arguments of type CategoryId Modifier and Type Method Description static void
Tools. selectRules(JLanguageTool lt, java.util.Set<CategoryId> disabledCategories, java.util.Set<CategoryId> enabledCategories, java.util.Set<java.lang.String> disabledRules, java.util.Set<java.lang.String> enabledRules, boolean useEnabledOnly)
-