Package org.languagetool.rules.ca
Class WordCoherencyRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.TextLevelRule
org.languagetool.rules.AbstractWordCoherencyRule
org.languagetool.rules.ca.WordCoherencyRule
Catalan version of
AbstractWordCoherencyRule.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateReplacement(String marked, String token, String otherSpelling, AnalyzedTokenReadings atrs) getId()protected StringgetMessage(String word1, String word2) Methods inherited from class org.languagetool.rules.AbstractWordCoherencyRule
match, minToCheckParagraphMethods inherited from class org.languagetool.rules.TextLevelRule
estimateContextForSureMatch, match, matchMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, getAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getRuleOptions, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, isIncludedInErrorsCorrectedAllAtOnce, isIncludedInHiddenMatches, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncludedInHiddenMatches, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setPriority, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useDictionaryBasedFilterForMatches, useInOffice
-
Constructor Details
-
WordCoherencyRule
- Throws:
IOException
-
-
Method Details
-
getWordMap
- Specified by:
getWordMapin classAbstractWordCoherencyRule
-
getMessage
- Specified by:
getMessagein classAbstractWordCoherencyRule
-
getId
-
getShortMessage
- Overrides:
getShortMessagein classAbstractWordCoherencyRule
-
getDescription
- Specified by:
getDescriptionin classRule
-
createReplacement
protected String createReplacement(String marked, String token, String otherSpelling, AnalyzedTokenReadings atrs) - Overrides:
createReplacementin classAbstractWordCoherencyRule
-