public final class ArabicHunspellSpellerRule extends HunspellRule
| Modifier and Type | Field and Description |
|---|---|
static String |
RULE_ID |
FILE_EXTENSION, hunspell, nonWordPatternignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, wordListLoader, wordsToBeIgnored| Constructor and Description |
|---|
ArabicHunspellSpellerRule(ResourceBundle messages) |
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) |
ensureInitialized, getActiveChecks, getDescription, getSentenceTextWithoutUrlsAndImmunizedTokens, getSuggestions, init, isQuotedCompound, match, sortSuggestionByQualityacceptPhrases, addIgnoreTokens, addIgnoreWords, addProhibitedWords, addSuggestionsToRuleMatch, createWrongSplitMatch, expandLine, filterDupes, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAdditionalTopSuggestions, getAntiPatterns, getIgnoreFileName, getLanguageVariantSpellingFileName, getProhibitFileName, getSpellingFileName, ignoreToken, ignoreWord, isDictionaryBasedSpellingRule, isEMail, isProhibited, isUrl, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWord, tokenizeNewWordsaddExamplePair, addTags, cacheAntiPatterns, estimateContextForSureMatch, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getTags, getUrl, hasConfigurableValue, hasTag, isDefaultOff, isDefaultTempOff, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setExamplePair, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setTags, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic static final String RULE_ID
public ArabicHunspellSpellerRule(ResourceBundle messages, UserConfig userConfig)
public ArabicHunspellSpellerRule(ResourceBundle messages)
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