Class WordCoherencyRule

java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.TextLevelRule
org.languagetool.rules.AbstractWordCoherencyRule
org.languagetool.rules.nl.WordCoherencyRule

public class WordCoherencyRule extends org.languagetool.rules.AbstractWordCoherencyRule
Dutch version of AbstractWordCoherencyRule.
  • Field Summary

    Fields inherited from class org.languagetool.rules.Rule

    messages
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    protected String
    getMessage(String word1, String word2)
     
    protected Map<String, Set<String>>
     

    Methods inherited from class org.languagetool.rules.AbstractWordCoherencyRule

    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 Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getWordMap

      protected Map<String, Set<String>> getWordMap()
      Specified by:
      getWordMap in class org.languagetool.rules.AbstractWordCoherencyRule
    • getMessage

      protected String getMessage(String word1, String word2)
      Specified by:
      getMessage in class org.languagetool.rules.AbstractWordCoherencyRule
    • getId

      public String getId()
      Specified by:
      getId in class org.languagetool.rules.Rule
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in class org.languagetool.rules.Rule