Class SimpleReplaceDNVRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractSimpleReplaceRule
org.languagetool.rules.ca.AbstractSimpleReplaceLemmasRule
org.languagetool.rules.ca.SimpleReplaceDNVRule
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.txt.- Author:
- Jaume OrtolĂ
-
Field Summary
Fields inherited from class AbstractSimpleReplaceLemmasRule
wrongLemmasFields inherited from class org.languagetool.rules.AbstractSimpleReplaceRule
ignoreTaggedWordsFields inherited from class org.languagetool.rules.Rule
messages -
Constructor Summary
ConstructorsConstructorDescriptionSimpleReplaceDNVRule(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
-
Constructor Details
-
SimpleReplaceDNVRule
public SimpleReplaceDNVRule(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
-