public abstract class NonSwissGerman extends German
Constructor and Description |
---|
NonSwissGerman() |
Modifier and Type | Method and Description |
---|---|
List<Rule> |
getRelevantRules(ResourceBundle messages,
UserConfig userConfig,
Language motherTongue,
List<Language> altLanguages)
Get the rules classes that should run for texts in this language.
|
List<String> |
getRuleFileNames()
Get the location of the rule file(s) in a form like
/org/languagetool/rules/de/grammar.xml ,
i.e. a path in the classpath. |
close, createDefaultDisambiguator, createDefaultPostDisambiguationChunker, createDefaultSentenceTokenizer, createDefaultSpellingRule, createDefaultSynthesizer, createDefaultTagger, createDefaultWordTokenizer, getClosingDoubleQuote, getClosingSingleQuote, getCountries, getDefaultLanguageVariant, getDefaultSpellingRule, getLanguageModel, getMaintainedState, getMaintainers, getName, getNonStrictCompoundSplitter, getOpeningDoubleQuote, getOpeningSingleQuote, getPriorityForId, getRelevantLanguageModelRules, getShortCode, getStrictCompoundTokenizer, hasMinMatchesRules, isAdvancedTypographyEnabled, toAdvancedTypography
adaptSuggestion, adaptSuggestions, adjustMatch, createDefaultChunker, createDefaultJLanguageTool, equals, equalsConsiderVariantsIfSpecified, getChunker, getCommonWordsPath, getConsistencyRulePrefix, getDefaultDisabledRulesForVariant, getDefaultEnabledRulesForVariant, getDefaultSpellingRule, getDisambiguationUnifier, getDisambiguationUnifierConfiguration, getDisambiguator, getIgnoredCharactersRegex, getLocale, getLocaleWithCountryAndVariant, getPatternRules, getPostDisambiguationChunker, getRelevantLanguageModelCapableRules, getRelevantRemoteRules, getRelevantRulesGlobalConfig, getRemoteEnhancedRules, getRulePriority, getSentenceTokenizer, getShortCodeWithCountryAndVariant, getSynthesizer, getTagger, getTranslatedName, getUnifier, getUnifierConfiguration, getVariant, getWordTokenizer, hashCode, hasNGramFalseFriendRule, hasVariant, initLanguageModel, isExternal, isHiddenFromGui, isSpellcheckOnlyLanguage, isVariant, mergeSuggestions, setChunker, setDisambiguator, setPostDisambiguationChunker, setSentenceTokenizer, setSynthesizer, setTagger, setWordTokenizer, toString
public List<Rule> getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) throws IOException
Language
getRelevantRules
in class German
IOException
public List<String> getRuleFileNames()
Language
/org/languagetool/rules/de/grammar.xml
,
i.e. a path in the classpath. The files must exist or an exception will be thrown, unless the filename
contains the string -test-
.getRuleFileNames
in class Language