Package org.languagetool.rules.de
Class SpellingRuleWithSuggestions
java.lang.Object
org.languagetool.rules.de.SpellingRuleWithSuggestions
- Since:
- 4.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final org.languagetool.rules.Rule
private final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionSpellingRuleWithSuggestions
(org.languagetool.rules.Rule rule, String alternative, String suggestion) SpellingRuleWithSuggestions
(org.languagetool.rules.Rule rule, String alternative, List<String> suggestions) SpellingRuleWithSuggestions
(org.languagetool.rules.Rule rule, String alternative, List<String> suggestions, boolean skipIfAfterQuote) -
Method Summary
Modifier and TypeMethodDescription(package private) static List
<org.languagetool.rules.RuleMatch> computeMatches
(org.languagetool.AnalyzedSentence sentence, SpellingData data, String[] exceptions)
-
Field Details
-
rule
private final org.languagetool.rules.Rule rule -
alternative
-
suggestions
-
skipIfAfterQuote
private final boolean skipIfAfterQuote
-
-
Constructor Details
-
SpellingRuleWithSuggestions
-
SpellingRuleWithSuggestions
SpellingRuleWithSuggestions(org.languagetool.rules.Rule rule, String alternative, List<String> suggestions) - Since:
- 4.6
-
SpellingRuleWithSuggestions
SpellingRuleWithSuggestions(org.languagetool.rules.Rule rule, String alternative, List<String> suggestions, boolean skipIfAfterQuote) - Since:
- 4.6
-
-
Method Details
-
computeMatches
static List<org.languagetool.rules.RuleMatch> computeMatches(org.languagetool.AnalyzedSentence sentence, SpellingData data, String[] exceptions) throws IOException - Throws:
IOException
-