Class GermanWordSplitter
java.lang.Object
de.danielnaber.jwordsplitter.AbstractWordSplitter
de.danielnaber.jwordsplitter.GermanWordSplitter
Split German compound words. Based on an embedded dictionary, or on an
external plain text dictionary.
-
Field Summary
Fields inherited from class AbstractWordSplitter
words -
Constructor Summary
ConstructorsConstructorDescriptionGermanWordSplitter(boolean hideInterfixCharacters) GermanWordSplitter(boolean hideInterfixCharacters, File plainTextDict) GermanWordSplitter(boolean hideInterfixCharacters, InputStream plainTextDict) GermanWordSplitter(boolean hideInterfixCharacters, Set<String> words) -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected de.danielnaber.jwordsplitter.GermanInterfixDisambiguatorprotected Collection<String> Interfix elements in lowercase, e.g. at least "s" for German.getWordList(InputStream stream) Methods inherited from class AbstractWordSplitter
addException, getAllSplits, getSubWords, setExceptionFile, setMaximumWordLength, setMinimumWordLength, setStrictMode, splitWord, splitWord
-
Constructor Details
-
GermanWordSplitter
- Throws:
IOException
-
GermanWordSplitter
public GermanWordSplitter(boolean hideInterfixCharacters, InputStream plainTextDict) throws IOException - Throws:
IOException
-
GermanWordSplitter
- Throws:
IOException
-
GermanWordSplitter
- Throws:
IOException- Since:
- 4.2
-
-
Method Details
-
getWordList
- Specified by:
getWordListin classAbstractWordSplitter- Throws:
IOException
-
getWordList
- Specified by:
getWordListin classAbstractWordSplitter
-
getDisambiguator
protected de.danielnaber.jwordsplitter.GermanInterfixDisambiguator getDisambiguator()- Specified by:
getDisambiguatorin classAbstractWordSplitter
-
getDefaultMinimumWordLength
protected int getDefaultMinimumWordLength()- Specified by:
getDefaultMinimumWordLengthin classAbstractWordSplitter
-
getInterfixCharacters
Description copied from class:AbstractWordSplitterInterfix elements in lowercase, e.g. at least "s" for German.- Specified by:
getInterfixCharactersin classAbstractWordSplitter
-