public class AustrianGermanSpellerRule extends GermanSpellerRule
RULE_ID
FILE_EXTENSION, hunspell, nonWordPattern
CUSTOM_SPELLING_FILE, GLOBAL_SPELLING_FILE, HIGH_CONFIDENCE, ignoreWordsWithLength, language, languageModel, LANGUAGETOOL, LANGUAGETOOLER, wordsToBeIgnored
Constructor and Description |
---|
AustrianGermanSpellerRule(ResourceBundle messages,
German language) |
AustrianGermanSpellerRule(ResourceBundle messages,
German language,
UserConfig userConfig,
LanguageModel lm) |
Modifier and Type | Method and Description |
---|---|
String |
getId()
A string used to identify the rule in e.g. configuration files.
|
String |
getLanguageVariantSpellingFileName()
Get the name of the spelling file for a language variant (e.g., en-US or de-AT),
which lists words to be accepted and used for suggestions, even when the spell
checker would not accept them.
|
protected void |
init() |
acceptSuggestion, addIgnoreWords, addProhibitedWords, createWrongSplitMatch, expandLine, filterForLanguage, filterNoSuggestWords, getAdditionalTopSuggestions, getCandidates, getFilteredSuggestions, getOnlySuggestions, getSpeller, getSpellingFilePaths, getSuggestions, ignorePotentiallyMisspelledWord, ignoreWord, isIgnoredNoCase, isMisspelled, isProhibited, isQuotedCompound, match, sortSuggestionByQuality
getCandidates, getStreams
ensureInitialized, getActiveChecks, getDescription, getDictFilenameInResources, getSentenceTextWithoutUrlsAndImmunizedTokens, isInIgnoredSet, tokenizeText
acceptPhrases, addIgnoreTokens, addSuggestionsToRuleMatch, filterDupes, filterSuggestions, getAdditionalProhibitFileNames, getAdditionalSpellingFileNames, getAdditionalSuggestions, getAntiPatterns, getIgnoreFileName, getProhibitFileName, getSpellingFileName, ignoreToken, ignoreWord, isDictionaryBasedSpellingRule, isEMail, isLatinScript, isUrl, setConsiderIgnoreWords, setConvertsCase, startsWithIgnoredWord, tokenizeNewWords
addExamplePair, 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, toRuleMatchArray, useInOffice
public AustrianGermanSpellerRule(ResourceBundle messages, German language)
public AustrianGermanSpellerRule(ResourceBundle messages, German language, UserConfig userConfig, LanguageModel lm)
public String getId()
Rule
A-Z
and the underscore.getId
in class GermanSpellerRule
protected void init() throws IOException
init
in class GermanSpellerRule
IOException
public String getLanguageVariantSpellingFileName()
SpellingCheckRule
getLanguageVariantSpellingFileName
in class SpellingCheckRule