Class PersianCommaWhitespaceRule


  • public class PersianCommaWhitespaceRule
    extends org.languagetool.rules.CommaWhitespaceRule
    A rule that matches periods, commas and closing parenthesis preceded by whitespace and opening parenthesis followed by whitespace.
    Since:
    2.7
    • Field Summary

      • Fields inherited from class org.languagetool.rules.Rule

        messages
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCommaCharacter()  
      java.lang.String getId()  
      • Methods inherited from class org.languagetool.rules.CommaWhitespaceRule

        getDescription, 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
    • Constructor Detail

      • PersianCommaWhitespaceRule

        public PersianCommaWhitespaceRule​(java.util.ResourceBundle messages)
    • Method Detail

      • getId

        public final java.lang.String getId()
        Overrides:
        getId in class org.languagetool.rules.CommaWhitespaceRule
      • getCommaCharacter

        public java.lang.String getCommaCharacter()
        Overrides:
        getCommaCharacter in class org.languagetool.rules.CommaWhitespaceRule