Class KhmerSpaceBeforeRule


public class KhmerSpaceBeforeRule extends AbstractSpaceBeforeRule
A Khmer rule that checks if there is a missing space before some conjunctions.
  • Field Details

    • CONJUNCTIONS

      private static final Pattern CONJUNCTIONS
  • Constructor Details

  • Method Details

    • getConjunctions

      public Pattern getConjunctions()
      Specified by:
      getConjunctions in class AbstractSpaceBeforeRule
    • getId

      public String getId()
      Description copied from class: Rule
      A string used to identify the rule in e.g. configuration files. This string is supposed to be unique and to stay the same in all upcoming versions of LanguageTool. It's supposed to contain only the characters A-Z and the underscore.
      Overrides:
      getId in class AbstractSpaceBeforeRule