Package org.languagetool.rules.en
Class ConsistentApostrophesRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.TextLevelRule
org.languagetool.rules.en.ConsistentApostrophesRule
Check for consistent use of apostrophes (typographic (’) vs. typewriter (')).
- Since:
- 5.3
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods 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
-
ConsistentApostrophesRule
-
-
Method Details
-
getId
-
getDescription
- Specified by:
getDescriptionin classRule
-
match
- Specified by:
matchin classTextLevelRule
-
minToCheckParagraph
public int minToCheckParagraph()- Specified by:
minToCheckParagraphin classTextLevelRule
-