Class PersianCommaWhitespaceRule


public class PersianCommaWhitespaceRule extends CommaWhitespaceRule
A rule that matches periods, commas and closing parenthesis preceded by whitespace and opening parenthesis followed by whitespace.
Since:
2.7
  • Constructor Details

    • PersianCommaWhitespaceRule

      public PersianCommaWhitespaceRule(ResourceBundle messages)
  • Method Details

    • getId

      public final 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 CommaWhitespaceRule
    • getCommaCharacter

      public String getCommaCharacter()
      Overrides:
      getCommaCharacter in class CommaWhitespaceRule