public class German extends Language implements AutoCloseable
GermanyGerman, SwissGerman, or AustrianGerman
if you need spell checking.| Constructor and Description |
|---|
German()
Deprecated.
use
GermanyGerman, AustrianGerman, or SwissGerman instead -
they have rules for spell checking, this class doesn't (deprecated since 3.2) |
equals, equalsConsiderVariantsIfSpecified, getChunker, getCommonWordsPath, getDefaultDisabledRulesForVariant, getDefaultEnabledRulesForVariant, getDisambiguationUnifier, getDisambiguationUnifierConfiguration, getIgnoredCharactersRegex, getLocale, getLocaleWithCountryAndVariant, getPatternRules, getRelevantLanguageModelCapableRules, getRelevantNeuralNetworkModels, getRelevantRemoteRules, getRelevantRulesGlobalConfig, getRemoteEnhancedRules, getRuleFileNames, getShortCodeWithCountryAndVariant, getTranslatedName, getUnifier, getUnifierConfiguration, getVariant, getWordTokenizer, hashCode, hasNGramFalseFriendRule, hasVariant, initLanguageModel, isExternal, isHiddenFromGui, isSpellcheckOnlyLanguage, isVariant, toStringprotected Tagger tagger
@Deprecated public German()
GermanyGerman, AustrianGerman, or SwissGerman instead -
they have rules for spell checking, this class doesn't (deprecated since 3.2)public Language getDefaultLanguageVariant()
getDefaultLanguageVariant in class Languagepublic Disambiguator getDisambiguator()
getDisambiguator in class Languagepublic Chunker getPostDisambiguationChunker()
getPostDisambiguationChunker in class Languagepublic String getShortCode()
getShortCode in class Languagepublic String[] getCountries()
getCountries in class Language@NotNull public Synthesizer getSynthesizer()
getSynthesizer in class Languagepublic SentenceTokenizer getSentenceTokenizer()
getSentenceTokenizer in class Languagepublic Contributor[] getMaintainers()
getMaintainers in class Languagepublic List<Rule> getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) throws IOException
getRelevantRules in class LanguageIOExceptionpublic List<Rule> getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel, UserConfig userConfig) throws IOException
getRelevantLanguageModelRules in class LanguageIOExceptionpublic List<Rule> getRelevantWord2VecModelRules(ResourceBundle messages, Word2VecModel word2vecModel) throws IOException
getRelevantWord2VecModelRules in class LanguageIOExceptionpublic CompoundWordTokenizer getNonStrictCompoundSplitter()
public GermanCompoundTokenizer getStrictCompoundTokenizer()
public LanguageModel getLanguageModel(File indexDir) throws IOException
getLanguageModel in class LanguageIOExceptionpublic Word2VecModel getWord2VecModel(File indexDir) throws IOException
getWord2VecModel in class LanguageIOExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionpublic LanguageMaintainedState getMaintainedState()
getMaintainedState in class Languagepublic int getPriorityForId(String id)
getPriorityForId in class Language