public final class ArabicHunspellSpellerRule extends HunspellRule
| Modifier and Type | Field and Description |
|---|---|
static String |
RULE_ID |
FILE_EXTENSION, hunspell, nonWordPatternCUSTOM_SPELLING_FILE, GLOBAL_SPELLING_FILE, HIGH_CONFIDENCE, ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, MAX_TOKEN_LENGTH, 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()
A string used to identify the rule in e.g. configuration files.
|
protected boolean |
ignoreWord(String word)
Returns true iff the word should be ignored by the spell checker.
|
protected boolean |
isLatinScript() |
boolean |
isMisspelled(String word) |
protected String[] |
tokenizeText(String sentence) |
acceptSuggestion, ensureInitialized, getActiveChecks, getDescription, getSentenceTextWithoutUrlsAndImmunizedTokens, getSuggestions, init, isInIgnoredSet, isQuotedCompound, match, sortSuggestionByQualityacceptPhrases, addIgnoreTokens, addIgnoreWords, addProhibitedWords, addSuggestionsToRuleMatch, createWrongSplitMatch, expandLine, filterDupes, filterNoSuggestWords, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAdditionalTopSuggestions, getAntiPatterns, getIgnoreFileName, getLanguageVariantSpellingFileName, getOnlySuggestions, getProhibitFileName, getSpellingFileName, ignorePotentiallyMisspelledWord, ignoreToken, ignoreWord, isDictionaryBasedSpellingRule, isEMail, isIgnoredNoCase, isProhibited, isUrl, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWord, tokenizeNewWordsaddExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getMinPrevMatches, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasConfigurableValue, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isGoalSpecific, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic static final String RULE_ID
public ArabicHunspellSpellerRule(ResourceBundle messages, UserConfig userConfig)
public ArabicHunspellSpellerRule(ResourceBundle messages)
public String getId()
RuleA-Z
and the underscore.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
SpellingCheckRuleSpellingCheckRule.ignoreToken(AnalyzedTokenReadings[], int) instead.ignoreWord in class SpellingCheckRuleIOExceptionpublic boolean isMisspelled(String word)
isMisspelled in class HunspellRuleprotected boolean isLatinScript()
isLatinScript in class SpellingCheckRule