public class HunspellNoSuggestionRule extends HunspellRule
HunspellRule, but does not offer suggestions for incorrect words
as that is very slow with Hunspell.| Modifier and Type | Field and Description |
|---|---|
static String |
RULE_ID |
hunspellDict, needsInitlanguage, LANGUAGETOOL, LANGUAGETOOL_FX| Constructor and Description |
|---|
HunspellNoSuggestionRule(ResourceBundle messages,
Language language) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
A short description of the error this rule can detect, usually in the language of the text
that is checked.
|
String |
getId()
A string used to identify the rule in e.g. configuration files.
|
List<String> |
getSuggestions(String word) |
init, match, tokenizeTextaddIgnoreTokens, addIgnoreWords, expandLine, filterSuggestions, getAdditionalSuggestions, getAdditionalTopSuggestions, getIgnoreFileName, getProhibitFileName, getSpellingFileName, ignoreToken, ignoreWord, ignoreWord, isConvertsCase, isDictionaryBasedSpellingRule, isProhibited, isUrl, reset, setConsiderIgnoreWords, setConvertsCaseaddExamplePair, getCategory, getCorrectExamples, getIncorrectExamples, getLocQualityIssueType, getUrl, isDefaultOff, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setIncorrectExamples, setLocQualityIssueType, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic static final String RULE_ID
public HunspellNoSuggestionRule(ResourceBundle messages, Language language)
public String getId()
RuleA-Z
and the underscore.getId in class HunspellRulepublic String getDescription()
RulegetDescription in class HunspellRulepublic List<String> getSuggestions(String word) throws IOException
getSuggestions in class HunspellRuleIOException