Uses of Class
org.languagetool.rules.CorrectExample
Packages that use CorrectExample
Package
Description
-
Uses of CorrectExample in org.languagetool.rules
Fields in org.languagetool.rules with type parameters of type CorrectExampleMethods in org.languagetool.rules that return CorrectExampleModifier and TypeMethodDescriptionstatic CorrectExampleCreate an example text (usually just one sentence) without an error - the fixed error (compared to the text created withExample.wrong(String)) can be marked with<marker>...</marker>.Methods in org.languagetool.rules that return types with arguments of type CorrectExampleModifier and TypeMethodDescriptionfinal List<CorrectExample> Rule.getCorrectExamples()Get example sentences that are correct and thus will not match this rule.Methods in org.languagetool.rules with parameters of type CorrectExampleModifier and TypeMethodDescriptionprotected voidRule.addExamplePair(IncorrectExample incorrectSentence, CorrectExample correctSentence) Convenience method to add a pair of sentences: an incorrect sentence and the same sentence with the error corrected.protected voidRule.setExamplePair(IncorrectExample incorrectSentence, CorrectExample correctSentence) Convenience method to set a pair of sentences: an incorrect sentence and the same sentence with the error corrected.Method parameters in org.languagetool.rules with type arguments of type CorrectExampleModifier and TypeMethodDescriptionfinal voidRule.setCorrectExamples(List<CorrectExample> correctExamples) Set the examples that are correct and thus do not trigger the rule.Constructors in org.languagetool.rules with parameters of type CorrectExampleModifierConstructorDescriptionCommaWhitespaceRule(ResourceBundle messages, IncorrectExample incorrectExample, CorrectExample correctExample) CommaWhitespaceRule(ResourceBundle messages, IncorrectExample incorrectExample, CorrectExample correctExample, URL url) UppercaseSentenceStartRule(ResourceBundle messages, Language language, IncorrectExample incorrectExample, CorrectExample correctExample) UppercaseSentenceStartRule(ResourceBundle messages, Language language, IncorrectExample incorrectExample, CorrectExample correctExample, URL url) -
Uses of CorrectExample in org.languagetool.rules.de
Constructors in org.languagetool.rules.de with parameters of type CorrectExampleModifierConstructorDescriptionGermanCommaWhitespaceRule(ResourceBundle messages, IncorrectExample incorrectExample, CorrectExample correctExample, URL url) -
Uses of CorrectExample in org.languagetool.rules.patterns
Fields in org.languagetool.rules.patterns with type parameters of type CorrectExampleModifier and TypeFieldDescriptionprotected List<CorrectExample> XMLRuleHandler.antipatternExamplesprotected List<CorrectExample> XMLRuleHandler.antipatternForRuleGroupsExamplesprotected List<CorrectExample> XMLRuleHandler.correctExamples -
Uses of CorrectExample in org.languagetool.rules.spelling.hunspell
Constructors in org.languagetool.rules.spelling.hunspell with parameters of type CorrectExampleModifierConstructorDescriptionHunspellNoSuggestionRule(ResourceBundle messages, Language language, UserConfig userConfig, List<Language> altLanguages, IncorrectExample incorrectExample, CorrectExample correctedExample) -
Uses of CorrectExample in org.languagetool.rules.uk
Constructors in org.languagetool.rules.uk with parameters of type CorrectExampleModifierConstructorDescriptionUkrainianCommaWhitespaceRule(ResourceBundle messages, IncorrectExample incorrectExample, CorrectExample correctExample) UkrainianUppercaseSentenceStartRule(ResourceBundle messages, Language language, IncorrectExample incorrectExample, CorrectExample correctExample)