Class SentenceWhitespaceRule


  • public class SentenceWhitespaceRule
    extends org.languagetool.rules.SentenceWhitespaceRule
    Checks that there's whitespace between sentences etc.
    Since:
    2.8
    • Field Summary

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

        messages
    • Constructor Summary

      Constructors 
      Constructor Description
      SentenceWhitespaceRule​(java.util.ResourceBundle messages)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()  
      java.lang.String getId()  
      java.lang.String getMessage​(boolean prevSentenceEndsWithNumber)  
      • Methods inherited from class org.languagetool.rules.SentenceWhitespaceRule

        match, minToCheckParagraph
      • Methods inherited from class org.languagetool.rules.TextLevelRule

        estimateContextForSureMatch, match, match
      • Methods inherited from class org.languagetool.rules.Rule

        addExamplePair, 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

      • SentenceWhitespaceRule

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

      • getId

        public java.lang.String getId()
        Overrides:
        getId in class org.languagetool.rules.SentenceWhitespaceRule
      • getDescription

        public java.lang.String getDescription()
        Overrides:
        getDescription in class org.languagetool.rules.SentenceWhitespaceRule
      • getMessage

        public java.lang.String getMessage​(boolean prevSentenceEndsWithNumber)
        Overrides:
        getMessage in class org.languagetool.rules.SentenceWhitespaceRule