public final class ArabicHunspellSpellerRule extends HunspellRule
| Modifier and Type | Field and Description |
|---|---|
static String |
RULE_ID |
FILE_EXTENSION, hunspell, needsInit, nonWordPattern, suggestionsOrdererignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, wordListLoader, wordsToBeIgnored| Constructor and Description |
|---|
ArabicHunspellSpellerRule(ResourceBundle messages) |
ArabicHunspellSpellerRule(ResourceBundle messages,
Language language,
UserConfig userConfig) |
ArabicHunspellSpellerRule(ResourceBundle messages,
Language language,
UserConfig userConfig,
List<Language> altLanguages) |
ArabicHunspellSpellerRule(ResourceBundle messages,
UserConfig userConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDictFilenameInResources(String langCountry) |
String |
getId() |
protected boolean |
ignoreWord(String word) |
boolean |
isMisspelled(String word) |
protected String[] |
tokenizeText(String sentence) |
getActiveChecks, getDescription, getSentenceTextWithoutUrlsAndImmunizedTokens, getSuggestions, init, isAcceptedWordFromLanguage, isQuotedCompound, match, sortSuggestionByQualityacceptedInAlternativeLanguage, acceptPhrases, addIgnoreTokens, addIgnoreWords, addProhibitedWords, addSuggestionsToRuleMatch, createWrongSplitMatch, expandLine, filterDupes, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAdditionalTopSuggestions, getAlternativeLangSpellingRules, getAntiPatterns, getIgnoreFileName, getLanguageVariantSpellingFileName, getProhibitFileName, getSpellingFileName, ignoreToken, ignoreWord, isDictionaryBasedSpellingRule, isEMail, isProhibited, isUrl, reorderSuggestions, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWordaddExamplePair, estimateContextForSureMatch, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setExamplePair, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic static final String RULE_ID
public ArabicHunspellSpellerRule(ResourceBundle messages, Language language, UserConfig userConfig)
public ArabicHunspellSpellerRule(ResourceBundle messages, UserConfig userConfig)
public ArabicHunspellSpellerRule(ResourceBundle messages)
public ArabicHunspellSpellerRule(ResourceBundle messages, Language language, UserConfig userConfig, List<Language> altLanguages)
public String getId()
getId in class HunspellRule@NotNull protected String getDictFilenameInResources(String langCountry)
getDictFilenameInResources in class HunspellRuleprotected String[] tokenizeText(String sentence)
tokenizeText in class HunspellRuleprotected boolean ignoreWord(String word) throws IOException
ignoreWord in class SpellingCheckRuleIOExceptionpublic boolean isMisspelled(String word)
isMisspelled in class HunspellRule