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) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the language model, if any.
|
String[] |
getCountries() |
Language |
getDefaultLanguageVariant() |
Disambiguator |
getDisambiguator() |
LanguageModel |
getLanguageModel(File indexDir) |
LanguageMaintainedState |
getMaintainedState() |
Contributor[] |
getMaintainers() |
String |
getName() |
CompoundWordTokenizer |
getNonStrictCompoundSplitter() |
Chunker |
getPostDisambiguationChunker() |
List<Rule> |
getRelevantLanguageModelRules(ResourceBundle messages,
LanguageModel languageModel) |
List<Rule> |
getRelevantRules(ResourceBundle messages) |
SentenceTokenizer |
getSentenceTokenizer() |
String |
getShortName() |
GermanCompoundTokenizer |
getStrictCompoundTokenizer() |
Synthesizer |
getSynthesizer() |
Tagger |
getTagger() |
equalsConsiderVariantsIfSpecified, getChunker, getDefaultDisabledRulesForVariant, getDefaultEnabledRulesForVariant, getDisambiguationUnifier, getDisambiguationUnifierConfiguration, getIgnoredCharactersRegex, getLocale, getLocaleWithCountryAndVariant, getPatternRules, getRuleFileNames, getShortNameWithCountryAndVariant, getTranslatedName, getUnifier, getUnifierConfiguration, getVariant, getWordTokenizer, hasVariant, isExternal, isHiddenFromGui, isVariant, toString@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 getShortName()
getShortName 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) throws IOException
getRelevantRules in class LanguageIOExceptionpublic CompoundWordTokenizer getNonStrictCompoundSplitter()
public GermanCompoundTokenizer getStrictCompoundTokenizer()
public LanguageModel getLanguageModel(File indexDir) throws IOException
getLanguageModel in class LanguageIOExceptionpublic List<Rule> getRelevantLanguageModelRules(ResourceBundle messages, LanguageModel languageModel) throws IOException
getRelevantLanguageModelRules in class LanguageIOExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionpublic LanguageMaintainedState getMaintainedState()
getMaintainedState in class Language