Class 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 java.util.regex.Pattern CONJUNCTIONS  
      • Fields inherited from class org.languagetool.rules.Rule

        messages
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.regex.Pattern getConjunctions()  
      java.lang.String getId()  
      • 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 Detail

      • CONJUNCTIONS

        private static final java.util.regex.Pattern CONJUNCTIONS
    • Constructor Detail

      • KhmerSpaceBeforeRule

        public KhmerSpaceBeforeRule​(java.util.ResourceBundle messages,
                                    org.languagetool.Language language)
    • Method Detail

      • getConjunctions

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

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