Package org.languagetool.rules.be
Class BelarusianSpecificCaseRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.AbstractSpecificCaseRule
org.languagetool.rules.be.BelarusianSpecificCaseRule
A rule that matches words which need a specific upper/lowercase spelling.
Based on English and Russian SpecificCaseRule
- Since:
- 6.2
-
Field Summary
Fields inherited from class org.languagetool.rules.AbstractSpecificCaseRule
phrasesListLoader -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.languagetool.rules.AbstractSpecificCaseRule
matchMethods 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
-
Constructor Details
-
BelarusianSpecificCaseRule
-
-
Method Details
-
getPhrasesPath
- Specified by:
getPhrasesPathin classAbstractSpecificCaseRule- Returns:
- the path to the txt file that contains the phrases for the rule
-
getInitialCapitalMessage
- Overrides:
getInitialCapitalMessagein classAbstractSpecificCaseRule- Returns:
- the message that will be shown if the words of the wrongly capitalized phrase must begin with capital
-
getOtherCapitalizationMessage
- Overrides:
getOtherCapitalizationMessagein classAbstractSpecificCaseRule- Returns:
- the message that will be shown if the wrongly capitalized phrase must not be written with capital initials (another special kind of capitalization)
-
getShortMessage
- Overrides:
getShortMessagein classAbstractSpecificCaseRule
-
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 classAbstractSpecificCaseRule
-
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 classAbstractSpecificCaseRule
-