Package org.languagetool.rules.ar
Class ArabicHunspellSpellerRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.spelling.SpellingCheckRule
org.languagetool.rules.spelling.hunspell.HunspellRule
org.languagetool.rules.ar.ArabicHunspellSpellerRule
- Since:
- 4.9
-
Field Summary
FieldsFields inherited from class org.languagetool.rules.spelling.hunspell.HunspellRule
FILE_EXTENSION, hunspell, nonWordPatternFields inherited from class org.languagetool.rules.spelling.SpellingCheckRule
CUSTOM_SPELLING_FILE, GLOBAL_SPELLING_FILE, HIGH_CONFIDENCE, ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, MAX_TOKEN_LENGTH, wordListLoader, wordsToBeIgnored -
Constructor Summary
ConstructorsConstructorDescriptionArabicHunspellSpellerRule(ResourceBundle messages) ArabicHunspellSpellerRule(ResourceBundle messages, UserConfig userConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetDictFilenameInResources(String langCountry) getId()protected booleanignoreWord(String word) protected booleanbooleanisMisspelled(String word) protected String[]tokenizeText(String sentence) Methods inherited from class org.languagetool.rules.spelling.hunspell.HunspellRule
acceptSuggestion, ensureInitialized, getActiveChecks, getDescription, getMessage, getSentenceTextWithoutUrlsAndImmunizedTokens, getShortMessage, getSuggestions, init, isInIgnoredSet, isQuotedCompound, match, sortSuggestionByQualityMethods inherited from class org.languagetool.rules.spelling.SpellingCheckRule
acceptPhrases, 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, tokenizeNewWordsMethods inherited from class org.languagetool.rules.Rule
addExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, getCategory, getCorrectExamples, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMinPrevMatches, getPriority, getRuleOptions, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isGoalSpecific, isIncludedInHiddenMatches, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncludedInHiddenMatches, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setPriority, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
Field Details
-
RULE_ID
- See Also:
-
-
Constructor Details
-
ArabicHunspellSpellerRule
-
ArabicHunspellSpellerRule
-
-
Method Details
-
getId
- Overrides:
getIdin classHunspellRule
-
getDictFilenameInResources
- Overrides:
getDictFilenameInResourcesin classHunspellRule
-
tokenizeText
- Overrides:
tokenizeTextin classHunspellRule
-
ignoreWord
- Overrides:
ignoreWordin classSpellingCheckRule- Throws:
IOException
-
isMisspelled
- Overrides:
isMisspelledin classHunspellRule
-
isLatinScript
protected boolean isLatinScript()- Overrides:
isLatinScriptin classSpellingCheckRule
-