Package org.languagetool.rules.en
Class EnglishRedundancyRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractSimpleReplaceRule2
org.languagetool.rules.en.EnglishRedundancyRule
public class EnglishRedundancyRule
extends org.languagetool.rules.AbstractSimpleReplaceRule2
A rule that matches redundant expression.
Portuguese implementations. Loads the list of words from
/pt/redundancies.txt
.- Since:
- 4.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Locale
static final String
private static final String
Fields 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, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
Field Details
-
EN_REDUNDANCY_REPLACE
- See Also:
-
FILE_NAME
- See Also:
-
EN_LOCALE
-
-
Constructor Details
-
EnglishRedundancyRule
- 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
-
getUrl
- Overrides:
getUrl
in classorg.languagetool.rules.Rule
-
getLocale
- Specified by:
getLocale
in classorg.languagetool.rules.AbstractSimpleReplaceRule2
-