Uses of Class
org.languagetool.rules.IncorrectExample
Packages that use IncorrectExample
Package
Description
-
Uses of IncorrectExample in org.languagetool.rules
Fields in org.languagetool.rules with type parameters of type IncorrectExampleMethods in org.languagetool.rules that return IncorrectExampleModifier and TypeMethodDescriptionstatic IncorrectExample
Create an example text (usually just one sentence) with an error - the error must be marked with<marker>...</marker>
.Methods in org.languagetool.rules that return types with arguments of type IncorrectExampleModifier and TypeMethodDescriptionfinal List<IncorrectExample>
Rule.getIncorrectExamples()
Get example sentences that are incorrect and thus will match this rule.Methods in org.languagetool.rules with parameters of type IncorrectExampleModifier and TypeMethodDescriptionprotected void
Rule.addExamplePair
(IncorrectExample incorrectSentence, CorrectExample correctSentence) Convenience method to add 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 IncorrectExampleModifier and TypeMethodDescriptionfinal void
Rule.setIncorrectExamples
(List<IncorrectExample> incorrectExamples) Set the examples that are incorrect and thus do trigger the rule.Constructors in org.languagetool.rules with parameters of type IncorrectExampleModifierConstructorDescriptionCommaWhitespaceRule
(ResourceBundle messages, IncorrectExample incorrectExample, CorrectExample correctExample) UppercaseSentenceStartRule
(ResourceBundle messages, Language language, IncorrectExample incorrectExample, CorrectExample correctExample) -
Uses of IncorrectExample in org.languagetool.rules.patterns
Fields in org.languagetool.rules.patterns with type parameters of type IncorrectExampleModifier and TypeFieldDescriptionprotected List<IncorrectExample>
XMLRuleHandler.incorrectExamples
-
Uses of IncorrectExample in org.languagetool.rules.patterns.bitext
Fields in org.languagetool.rules.patterns.bitext declared as IncorrectExampleModifier and TypeFieldDescriptionprivate IncorrectExample
BitextPatternRuleHandler.srcExample
private IncorrectExample
BitextPatternRuleHandler.trgExample
Methods in org.languagetool.rules.patterns.bitext that return IncorrectExample -
Uses of IncorrectExample in org.languagetool.rules.spelling.hunspell
Constructors in org.languagetool.rules.spelling.hunspell with parameters of type IncorrectExampleModifierConstructorDescriptionHunspellNoSuggestionRule
(ResourceBundle messages, Language language, UserConfig userConfig, List<Language> altLanguages, IncorrectExample incorrectExample, CorrectExample correctedExample)