Package org.languagetool.rules.ar
Class ArabicWrongWordInContextRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.WrongWordInContextRule
org.languagetool.rules.ar.ArabicWrongWordInContextRule
- Since:
- 5.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.languagetool.rules.WrongWordInContextRule
match, setMatchLemmmasMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, getAntiPatterns, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getRuleOptions, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isGoalSpecific, 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, useInOffice
-
Field Details
-
ARABIC_WRONG_WORD_IN_CONTEXT
- See Also:
-
FILE_NAME
- See Also:
-
-
Constructor Details
-
ArabicWrongWordInContextRule
-
-
Method Details
-
getCategoryString
- Overrides:
getCategoryStringin classWrongWordInContextRule
-
getId
Description copied from class:RuleA string used to identify the rule in e.g. configuration files. This string is supposed to be unique and to stay the same in all upcoming versions of LanguageTool. It's supposed to contain only the charactersA-Zand the underscore.- Overrides:
getIdin classWrongWordInContextRule
-
getDescription
Description copied from class:RuleA short description of the error this rule can detect, usually in the language of the text that is checked.- Overrides:
getDescriptionin classWrongWordInContextRule
-
getFilename
- Specified by:
getFilenamein classWrongWordInContextRule
-
getMessageString
- Specified by:
getMessageStringin classWrongWordInContextRule- Returns:
- a string like "Possible confusion of words: Did you mean <suggestion>$SUGGESTION</suggestion> instead of '$WRONGWORD'?"
-
getShortMessageString
- Specified by:
getShortMessageStringin classWrongWordInContextRule- Returns:
- a string like "Possible confusion of words"
-
getLongMessageString
- Specified by:
getLongMessageStringin classWrongWordInContextRule- Returns:
- a string like "Possible confusion of words: Did you mean <suggestion>$SUGGESTION</suggestion> (= $EXPLANATION_SUGGESTION) instead of '$WRONGWORD' (= $EXPLANATION_WRONGWORD)?"
-