public final class MorfologikAmericanSpellerRule extends AbstractEnglishSpellerRule
| Modifier and Type | Field and Description |
|---|---|
static String |
RULE_ID |
topSuggestions, topSuggestionsIgnoreCaseconversionLocale, globalConfig, motherTongue, speller1, speller2, speller3HIGH_CONFIDENCE, ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, MAX_TOKEN_LENGTH, wordListLoader, wordsToBeIgnored| Constructor and Description |
|---|
MorfologikAmericanSpellerRule(ResourceBundle messages,
Language language) |
MorfologikAmericanSpellerRule(ResourceBundle messages,
Language language,
GlobalConfig globalConfig,
UserConfig userConfig,
List<Language> altLanguages,
LanguageModel languageModel,
Language motherTongue) |
MorfologikAmericanSpellerRule(ResourceBundle messages,
Language language,
UserConfig userConfig,
List<Language> altLanguages) |
| Modifier and Type | Method and Description |
|---|---|
protected List<SuggestedReplacement> |
getAdditionalTopSuggestions(List<SuggestedReplacement> suggestions,
String word) |
String |
getFileName() |
String |
getId() |
String |
getLanguageVariantSpellingFileName() |
protected org.languagetool.rules.en.VariantInfo |
isValidInOtherVariant(String word) |
filterNoSuggestWords, filterSuggestions, getOnlySuggestions, getRuleMatches, getTopSuggestions, getTopSuggestionsIgnoreCase, getTranslator, loadWordlist, match, tokenizeNewWordsgetDescription, getSpellingSuggestions, ignoreWord, isEmoji, isMisspelled, isMisspelled, orderSuggestions, setCheckCompound, setCompoundRegex, setIgnoreTaggedWords, setLocale, tokenizingPatternacceptPhrases, addIgnoreTokens, addIgnoreWords, addProhibitedWords, addSuggestionsToRuleMatch, createWrongSplitMatch, expandLine, filterDupes, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAntiPatterns, getIgnoreFileName, getProhibitFileName, getSpellingFileName, ignoreToken, ignoreWord, init, isDictionaryBasedSpellingRule, isEMail, isIgnoredNoCase, isInIgnoredSet, isLatinScript, isProhibited, isUrl, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWordaddExamplePair, addTags, cacheAntiPatterns, estimateContextForSureMatch, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getMinPrevMatches, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getUrl, hasConfigurableValue, hasTag, isDefaultOff, isDefaultTempOff, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setTags, setUrl, supportsLanguage, toRuleMatchArray, useInOfficepublic static final String RULE_ID
public MorfologikAmericanSpellerRule(ResourceBundle messages, Language language) throws IOException
IOExceptionpublic MorfologikAmericanSpellerRule(ResourceBundle messages, Language language, UserConfig userConfig, List<Language> altLanguages) throws IOException
IOExceptionpublic MorfologikAmericanSpellerRule(ResourceBundle messages, Language language, GlobalConfig globalConfig, UserConfig userConfig, List<Language> altLanguages, LanguageModel languageModel, Language motherTongue) throws IOException
IOExceptionprotected org.languagetool.rules.en.VariantInfo isValidInOtherVariant(String word)
isValidInOtherVariant in class AbstractEnglishSpellerRulepublic String getFileName()
getFileName in class MorfologikSpellerRulepublic String getId()
getId in class MorfologikSpellerRulepublic String getLanguageVariantSpellingFileName()
getLanguageVariantSpellingFileName in class SpellingCheckRuleprotected List<SuggestedReplacement> getAdditionalTopSuggestions(List<SuggestedReplacement> suggestions, String word) throws IOException
getAdditionalTopSuggestions in class AbstractEnglishSpellerRuleIOException