Class PersianDoublePunctuationRule

java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.DoublePunctuationRule
org.languagetool.rules.fa.PersianDoublePunctuationRule

public class PersianDoublePunctuationRule extends org.languagetool.rules.DoublePunctuationRule
A rule that matches ".." (but not "..." etc) and "،،".
Since:
2.7
  • Field Summary

    Fields inherited from class org.languagetool.rules.Rule

    messages
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    final String
     

    Methods inherited from class org.languagetool.rules.DoublePunctuationRule

    getCommaMessage, getDescription, getDotMessage, 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 Details

    • PersianDoublePunctuationRule

      public PersianDoublePunctuationRule(ResourceBundle messages)
  • Method Details

    • getId

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

      public String getCommaCharacter()
      Overrides:
      getCommaCharacter in class org.languagetool.rules.DoublePunctuationRule