Class CastWordsRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractSimpleReplaceRule
org.languagetool.rules.gl.CastWordsRule
public class CastWordsRule
extends org.languagetool.rules.AbstractSimpleReplaceRule
A rule that matches words or phrases which should not be used and suggests
correct ones instead.
Galician implementation. Loads the list of words from
rules/gl/spanish.txt.-
Field Summary
FieldsFields inherited from class org.languagetool.rules.AbstractSimpleReplaceRule
ignoreTaggedWordsFields inherited from class org.languagetool.rules.Rule
messages -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.languagetool.rules.AbstractSimpleReplaceRule
createRuleMatch, findMatches, isCheckLemmas, isTagged, loadFromPath, match, setCheckLemmas, setIgnoreTaggedWordsMethods 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
-
GL_CAST_WORDS_RULE
- See Also:
-
wrongWords
-
GL_LOCALE
-
-
Constructor Details
-
CastWordsRule
- Throws:
IOException
-
-
Method Details
-
getWrongWords
-
getId
- Overrides:
getIdin classorg.languagetool.rules.AbstractSimpleReplaceRule
-
getDescription
- Overrides:
getDescriptionin classorg.languagetool.rules.AbstractSimpleReplaceRule
-
getShort
- Overrides:
getShortin classorg.languagetool.rules.AbstractSimpleReplaceRule
-
getMessage
-
isCaseSensitive
public boolean isCaseSensitive()- Overrides:
isCaseSensitivein classorg.languagetool.rules.AbstractSimpleReplaceRule
-
getLocale
- Overrides:
getLocalein classorg.languagetool.rules.AbstractSimpleReplaceRule
-