Class MorfologikBritishSpellerRule

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.MorfologikBritishSpellerRule

public final class MorfologikBritishSpellerRule extends AbstractEnglishSpellerRule
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final String
     
    private static final String
     
    static final String
     
    private static final Map<String,String>
     

    Fields inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule

    conversionLocale, speller1, speller2, speller3

    Fields inherited from class org.languagetool.rules.spelling.SpellingCheckRule

    ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, wordListLoader

    Fields inherited from class org.languagetool.rules.Rule

    messages
  • Constructor Summary

    Constructors
    Constructor
    Description
    MorfologikBritishSpellerRule(ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, List<org.languagetool.Language> altLanguages)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    protected VariantInfo
     

    Methods inherited from class org.languagetool.rules.en.AbstractEnglishSpellerRule

    getAdditionalTopSuggestions, getRuleMatches, loadWordlist

    Methods inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule

    getDescription, getFrequency, ignoreWord, isMisspelled, isMisspelled, isSurrogatePairCombination, match, orderSuggestions, setCheckCompound, setCompoundRegex, setIgnoreTaggedWords, setLocale, tokenizingPattern

    Methods 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, startsWithIgnoredWord

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MorfologikBritishSpellerRule

      public MorfologikBritishSpellerRule(ResourceBundle messages, org.languagetool.Language language, org.languagetool.UserConfig userConfig, List<org.languagetool.Language> altLanguages) throws IOException
      Throws:
      IOException
  • Method Details

    • isValidInOtherVariant

      protected VariantInfo isValidInOtherVariant(String word)
      Overrides:
      isValidInOtherVariant in class AbstractEnglishSpellerRule
    • getFileName

      public String getFileName()
      Specified by:
      getFileName in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
    • getId

      public String getId()
      Specified by:
      getId in class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
    • getLanguageVariantSpellingFileName

      public String getLanguageVariantSpellingFileName()
      Overrides:
      getLanguageVariantSpellingFileName in class org.languagetool.rules.spelling.SpellingCheckRule