Class SimpleReplaceDNVSecondaryRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractSimpleReplaceRule
org.languagetool.rules.ca.AbstractSimpleReplaceLemmasRule
org.languagetool.rules.ca.SimpleReplaceDNVSecondaryRule
A rule that matches lemmas found only in DNV (AVL dictionary) and suggests
alternative words.
Catalan implementations. Loads the
relevant lemmas from
rules/ca/replace_dnv_secondary.txt.-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class AbstractSimpleReplaceLemmasRule
wrongLemmasFields inherited from class org.languagetool.rules.AbstractSimpleReplaceRule
ignoreTaggedWordsFields inherited from class org.languagetool.rules.Rule
messages -
Constructor Summary
ConstructorsConstructorDescriptionSimpleReplaceDNVSecondaryRule(ResourceBundle messages, org.languagetool.Language language) -
Method Summary
Methods inherited from class AbstractSimpleReplaceLemmasRule
getLocale, getWrongWords, isCaseSensitive, matchMethods inherited from class org.languagetool.rules.AbstractSimpleReplaceRule
createRuleMatch, findMatches, isCheckLemmas, isTagged, loadFromPath, 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
-
cache
-
-
Constructor Details
-
SimpleReplaceDNVSecondaryRule
public SimpleReplaceDNVSecondaryRule(ResourceBundle messages, org.languagetool.Language language) throws IOException - Throws:
IOException
-
-
Method Details
-
getId
- Overrides:
getIdin classorg.languagetool.rules.AbstractSimpleReplaceRule
-
getDescription
- Overrides:
getDescriptionin classorg.languagetool.rules.AbstractSimpleReplaceRule
-
getShort
- Overrides:
getShortin classorg.languagetool.rules.AbstractSimpleReplaceRule
-
getMessage
-