Class MorfologikAmericanSpellerRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.spelling.SpellingCheckRule
org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
org.languagetool.rules.en.AbstractEnglishSpellerRule
org.languagetool.rules.en.MorfologikAmericanSpellerRule
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringstatic final StringFields inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
conversionLocale, speller1, speller2, speller3Fields inherited from class org.languagetool.rules.spelling.SpellingCheckRule
ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, wordListLoaderFields inherited from class org.languagetool.rules.Rule
messages -
Constructor Summary
ConstructorsConstructorDescriptionMorfologikAmericanSpellerRule(ResourceBundle messages, org.languagetool.Language language) MorfologikAmericanSpellerRule(ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, List<org.languagetool.Language> altLanguages) MorfologikAmericanSpellerRule(ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, List<org.languagetool.Language> altLanguages, org.languagetool.languagemodel.LanguageModel languageModel) -
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalTopSuggestions(List<String> suggestions, String word) getId()protected VariantInfoisValidInOtherVariant(String word) Methods inherited from class AbstractEnglishSpellerRule
getRuleMatches, loadWordlistMethods inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
getDescription, getFrequency, ignoreWord, isMisspelled, isMisspelled, isSurrogatePairCombination, match, orderSuggestions, setCheckCompound, setCompoundRegex, setIgnoreTaggedWords, setLocale, tokenizingPatternMethods inherited from class org.languagetool.rules.spelling.SpellingCheckRule
acceptedInAlternativeLanguage, acceptPhrases, addIgnoreTokens, addIgnoreWords, addProhibitedWords, addSuggestionsToRuleMatch, createWrongSplitMatch, expandLine, filterDupes, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAlternativeLangSpellingRules, getAntiPatterns, getIgnoreFileName, getProhibitFileName, getSpellingFileName, ignoreToken, ignoreWord, init, isDictionaryBasedSpellingRule, isEMail, isProhibited, isUrl, reorderSuggestions, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWordMethods inherited from class org.languagetool.rules.Rule
addExamplePair, estimateContextForSureMatch, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
-
Field Details
-
RULE_ID
- See Also:
-
RESOURCE_FILENAME
- See Also:
-
LANGUAGE_SPECIFIC_PLAIN_TEXT_DICT
- See Also:
-
BRITISH_ENGLISH
-
-
Constructor Details
-
MorfologikAmericanSpellerRule
public MorfologikAmericanSpellerRule(ResourceBundle messages, org.languagetool.Language language) throws IOException - Throws:
IOException
-
MorfologikAmericanSpellerRule
public MorfologikAmericanSpellerRule(ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, List<org.languagetool.Language> altLanguages) throws IOException - Throws:
IOException- Since:
- 4.2
-
MorfologikAmericanSpellerRule
@Experimental public MorfologikAmericanSpellerRule(ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, List<org.languagetool.Language> altLanguages, org.languagetool.languagemodel.LanguageModel languageModel) throws IOException - Throws:
IOException- Since:
- 4.5
-
-
Method Details
-
isValidInOtherVariant
- Overrides:
isValidInOtherVariantin classAbstractEnglishSpellerRule
-
getFileName
- Specified by:
getFileNamein classorg.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
-
getId
- Specified by:
getIdin classorg.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
-
getLanguageVariantSpellingFileName
- Overrides:
getLanguageVariantSpellingFileNamein classorg.languagetool.rules.spelling.SpellingCheckRule
-
getAdditionalTopSuggestions
protected List<String> getAdditionalTopSuggestions(List<String> suggestions, String word) throws IOException - Overrides:
getAdditionalTopSuggestionsin classAbstractEnglishSpellerRule- Throws:
IOException
-