Package org.languagetool.rules.fr
Class QuestionWhitespaceRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.fr.QuestionWhitespaceRule
- Direct Known Subclasses:
QuestionWhitespaceStrictRule
A rule that matches spaces before ?,:,; and ! (required for correct French
punctuation).
- Author:
- Marcin MiĆkowski
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()protected booleanisAllowedWhitespaceChar(AnalyzedTokenReadings[] tokens, int i) match(AnalyzedSentence sentence) Methods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, 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
-
QuestionWhitespaceRule
-
-
Method Details
-
getAntiPatterns
- Overrides:
getAntiPatternsin classRule
-
getId
-
getDescription
- Specified by:
getDescriptionin classRule
-
isAllowedWhitespaceChar
-
match
-