Package org.languagetool.rules.nl
Class SimpleReplaceRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractSimpleReplaceRule2
org.languagetool.rules.nl.SimpleReplaceRule
public class SimpleReplaceRule
extends org.languagetool.rules.AbstractSimpleReplaceRule2
A rule that matches words or phrases which should not be used and suggests
correct ones instead.
Dutch implementations. Loads the list of words from
rules/nl/replace.txt
.- Since:
- 2.7
-
Field Summary
FieldsFields inherited from class org.languagetool.rules.Rule
messages
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.languagetool.rules.AbstractSimpleReplaceRule2
getWrongWords, isCaseSensitive, isException, 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
-
Field Details
-
DUTCH_SIMPLE_REPLACE_RULE
- See Also:
-
NL_LOCALE
-
-
Constructor Details
-
SimpleReplaceRule
- Throws:
IOException
-
-
Method Details
-
getFileName
- Specified by:
getFileName
in classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getId
- Specified by:
getId
in classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getDescription
- Specified by:
getDescription
in classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getShort
- Specified by:
getShort
in classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getSuggestion
- Specified by:
getSuggestion
in classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getSuggestionsSeparator
- Specified by:
getSuggestionsSeparator
in classorg.languagetool.rules.AbstractSimpleReplaceRule2
-
getLocale
- Specified by:
getLocale
in classorg.languagetool.rules.AbstractSimpleReplaceRule2
-