public final class MorfologikCatalanSpellerRule extends MorfologikSpellerRule
| Modifier and Type | Field and Description |
|---|---|
static String[] |
LemmasToAllow |
static String[] |
LemmasToIgnore |
conversionLocale, globalConfig, motherTongue, speller1, speller2, speller3CUSTOM_SPELLING_FILE, GLOBAL_SPELLING_FILE, HIGH_CONFIDENCE, ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, MAX_TOKEN_LENGTH, wordListLoader, wordsToBeIgnored| Constructor and Description |
|---|
MorfologikCatalanSpellerRule(ResourceBundle messages,
Language language,
UserConfig userConfig,
List<Language> altLanguages) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAdditionalSpellingFileNames()
Get the name of additional spelling file, which lists words to be accepted
and used for suggestions, even when the spell checker would not accept them.
|
protected List<SuggestedReplacement> |
getAdditionalTopSuggestions(List<SuggestedReplacement> suggestions,
String word)
Get additional suggestions added before other suggestions (note the rule may choose to
re-order the suggestions anyway).
|
String |
getFileName()
Get the filename, e.g., /resource/pl/spelling.dict.
|
String |
getId()
A string used to identify the rule in e.g. configuration files.
|
String |
getSpellingFileName()
Get the name of the spelling file, which lists words to be accepted
and used for suggestions, even when the spell checker would not accept them.
|
protected List<SuggestedReplacement> |
orderSuggestions(List<SuggestedReplacement> suggestions,
String word) |
boolean |
useInOffice()
Whether this rule should be forced to be used in LO/OO extension.
|
getDescription, getRuleMatches, getSpellingSuggestions, getTranslator, ignoreWord, isEmoji, isMisspelled, isMisspelled, match, setCheckCompound, setCompoundRegex, setIgnoreTaggedWords, setLocale, tokenizingPatternacceptPhrases, 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, startsWithIgnoredWord, tokenizeNewWordsaddExamplePair, addTags, addToneTags, cacheAntiPatterns, estimateContextForSureMatch, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getDistanceTokens, getErrorTriggeringExamples, getFullId, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getMinPrevMatches, getSentenceWithImmunization, getSourceFile, getSubId, getTags, getToneTags, getUrl, hasConfigurableValue, hasTag, hasToneTag, isDefaultOff, isDefaultTempOff, isGoalSpecific, isOfficeDefaultOff, isOfficeDefaultOn, isPremium, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setDistanceTokens, setErrorTriggeringExamples, setExamplePair, setGoalSpecific, setIncorrectExamples, setLocQualityIssueType, setMinPrevMatches, setOfficeDefaultOff, setOfficeDefaultOn, setPremium, setTags, setToneTags, setUrl, supportsLanguage, toRuleMatchArraypublic static final String[] LemmasToIgnore
public static final String[] LemmasToAllow
public MorfologikCatalanSpellerRule(ResourceBundle messages, Language language, UserConfig userConfig, List<Language> altLanguages) throws IOException
IOExceptionpublic List<String> getAdditionalSpellingFileNames()
SpellingCheckRulegetAdditionalSpellingFileNames in class SpellingCheckRulepublic String getFileName()
MorfologikSpellerRulegetFileName in class MorfologikSpellerRulepublic String getSpellingFileName()
SpellingCheckRulegetSpellingFileName in class SpellingCheckRulepublic String getId()
RuleA-Z
and the underscore.getId in class MorfologikSpellerRulepublic boolean useInOffice()
Ruletrue will be enabled always in LO/OO extension
regardless of other options like isDictionaryBasedSpellingRule().useInOffice in class Ruleprotected List<SuggestedReplacement> orderSuggestions(List<SuggestedReplacement> suggestions, String word)
orderSuggestions in class MorfologikSpellerRuleprotected List<SuggestedReplacement> getAdditionalTopSuggestions(List<SuggestedReplacement> suggestions, String word) throws IOException
SpellingCheckRulegetAdditionalTopSuggestions in class SpellingCheckRuleIOException