Package org.languagetool.rules.fr
Class QuestionWhitespaceStrictRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.fr.QuestionWhitespaceRule
org.languagetool.rules.fr.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) Methods inherited from class org.languagetool.rules.fr.QuestionWhitespaceRule
getAntiPatterns, matchMethods 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
-
QuestionWhitespaceStrictRule
-
-
Method Details
-
getId
- Overrides:
getIdin classQuestionWhitespaceRule
-
getDescription
- Overrides:
getDescriptionin classQuestionWhitespaceRule
-
isAllowedWhitespaceChar
- Overrides:
isAllowedWhitespaceCharin classQuestionWhitespaceRule
-