Class KhmerSpaceBeforeRule

java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractSpaceBeforeRule
org.languagetool.rules.km.KhmerSpaceBeforeRule

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

    Fields
    Modifier and Type
    Field
    Description
    private static final Pattern
     

    Fields inherited from class org.languagetool.rules.Rule

    messages
  • Constructor Summary

    Constructors
    Constructor
    Description
    KhmerSpaceBeforeRule(ResourceBundle messages, org.languagetool.Language language)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from class org.languagetool.rules.AbstractSpaceBeforeRule

    getDescription, getShort, getSuggestion, match

    Methods inherited from class org.languagetool.rules.Rule

    addExamplePair, estimateContextForSureMatch, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CONJUNCTIONS

      private static final Pattern CONJUNCTIONS
  • Constructor Details

    • KhmerSpaceBeforeRule

      public KhmerSpaceBeforeRule(ResourceBundle messages, org.languagetool.Language language)
  • Method Details

    • getConjunctions

      public Pattern getConjunctions()
      Specified by:
      getConjunctions in class org.languagetool.rules.AbstractSpaceBeforeRule
    • getId

      public String getId()
      Overrides:
      getId in class org.languagetool.rules.AbstractSpaceBeforeRule