Class Categories

java.lang.Object
org.languagetool.rules.Categories

public final class Categories extends Object
Pre-defined rule categories.
Since:
3.3
  • Field Details

    • CASING

      public static final Categories CASING
      Rules about detecting uppercase words where lowercase is required and vice versa.
    • COMPOUNDING

      public static final Categories COMPOUNDING
      Rules about spelling terms as one word or as as separate words.
    • GRAMMAR

      public static final Categories GRAMMAR
    • TYPOS

      public static final Categories TYPOS
      Spelling issues.
    • PUNCTUATION

      public static final Categories PUNCTUATION
    • TYPOGRAPHY

      public static final Categories TYPOGRAPHY
      Problems like incorrectly used dash or quote characters.
    • CONFUSED_WORDS

      public static final Categories CONFUSED_WORDS
      Words that are easily confused, like 'there' and 'their' in English.
    • REPETITIONS

      public static final Categories REPETITIONS
    • REDUNDANCY

      public static final Categories REDUNDANCY
    • STYLE

      public static final Categories STYLE
      General style issues not covered by other categories, like overly verbose wording.
    • PLAIN_ENGLISH

      public static final Categories PLAIN_ENGLISH
      Created to match PLAIN_ENGLISH XML category.
    • GENDER_NEUTRALITY

      public static final Categories GENDER_NEUTRALITY
    • SEMANTICS

      public static final Categories SEMANTICS
      Logic, content, and consistency problems.
    • COLLOQUIALISMS

      public static final Categories COLLOQUIALISMS
      Colloquial style.
    • REGIONALISMS

      public static final Categories REGIONALISMS
      Regionalisms: words used only in another language variant or used with different meanings.
    • FALSE_FRIENDS

      public static final Categories FALSE_FRIENDS
      False friends: words easily confused by language learners because a similar word exists in their native language.
    • WIKIPEDIA

      public static final Categories WIKIPEDIA
      Rules that only make sense when editing Wikipedia (typically turned off by default in LanguageTool).
    • MISC

      public static final Categories MISC
      Miscellaneous rules that don't fit elsewhere.
    • id

      private final String id
    • messageKey

      private final String messageKey
  • Constructor Details

    • Categories

      private Categories(String id, String messageKey)
  • Method Details