Package org.languagetool.rules.ca
Class MorfologikCatalanSpellerRule
java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.spelling.SpellingCheckRule
org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
org.languagetool.rules.ca.MorfologikCatalanSpellerRule
-
Field Summary
FieldsFields inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
conversionLocale, globalConfig, motherTongue, speller1, speller2, speller3Fields 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
ConstructorsConstructorDescriptionMorfologikCatalanSpellerRule(ResourceBundle messages, Language language, UserConfig userConfig, List<Language> altLanguages) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<SuggestedReplacement>getAdditionalTopSuggestions(List<SuggestedReplacement> suggestions, String word) getId()protected List<SuggestedReplacement>orderSuggestions(List<SuggestedReplacement> suggestions, String word) protected booleanbooleanMethods inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
addHyphenSuggestions, getDescription, getRuleMatches, getSpellingSuggestions, getTranslator, ignoreWord, isMisspelled, isMisspelled, match, setCheckCompound, setCompoundRegex, setIgnoreTaggedWords, setLocale, tokenizingPatternMethods inherited from class org.languagetool.rules.spelling.SpellingCheckRule
acceptPhrases, addIgnoreTokens, addIgnoreWords, addProhibitedWords, addSuggestionsToRuleMatch, createWrongSplitMatch, expandLine, filterDupes, filterNoSuggestWords, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSuggestions, getAntiPatterns, getIgnoreFileName, getLanguageVariantSpellingFileName, getOnlySuggestions, getProhibitFileName, ignorePotentiallyMisspelledWord, ignoreToken, ignoreWord, init, isDictionaryBasedSpellingRule, isEMail, isIgnoredNoCase, isInIgnoredSet, isLatinScript, isProhibited, isUrl, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWordMethods 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, isIncludedInErrorsCorrectedAllAtOnce, 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, useDictionaryBasedFilterForMatches
-
Field Details
-
LemmasToIgnore
-
LemmasToAllow
-
-
Constructor Details
-
MorfologikCatalanSpellerRule
public MorfologikCatalanSpellerRule(ResourceBundle messages, Language language, UserConfig userConfig, List<Language> altLanguages) throws IOException - Throws:
IOException
-
-
Method Details
-
getAdditionalSpellingFileNames
- Overrides:
getAdditionalSpellingFileNamesin classSpellingCheckRule
-
getFileName
- Specified by:
getFileNamein classMorfologikSpellerRule
-
getSpellingFileName
- Overrides:
getSpellingFileNamein classSpellingCheckRule
-
getId
- Specified by:
getIdin classMorfologikSpellerRule
-
useInOffice
public boolean useInOffice()- Overrides:
useInOfficein classRule
-
orderSuggestions
protected List<SuggestedReplacement> orderSuggestions(List<SuggestedReplacement> suggestions, String word) - Overrides:
orderSuggestionsin classMorfologikSpellerRule
-
getAdditionalTopSuggestions
protected List<SuggestedReplacement> getAdditionalTopSuggestions(List<SuggestedReplacement> suggestions, String word) throws IOException - Overrides:
getAdditionalTopSuggestionsin classSpellingCheckRule- Throws:
IOException
-
tokenizeNewWords
protected boolean tokenizeNewWords()- Overrides:
tokenizeNewWordsin classSpellingCheckRule
-