public interface SplitterAlgorithm
Modifier and Type | Method and Description |
---|---|
void |
setDictionary(Dictionary aDict)
Sets the dictionary for the algorithm
|
void |
setLinkingMorphemes(LinkingMorphemes aMorphemes)
Sets the linking morphemes for the algorithm
|
void |
setMaximalTreeDepth(int aDepth)
Set the maximal tree depth.
|
DecompoundingTree |
split(String aWord)
Returns all possible splits for a given word.
|
DecompoundingTree split(String aWord) throws org.apache.uima.resource.ResourceInitializationException
aWord
- The word to splitorg.apache.uima.resource.ResourceInitializationException
void setDictionary(Dictionary aDict)
aDict
- The dictionaryvoid setLinkingMorphemes(LinkingMorphemes aMorphemes)
void setMaximalTreeDepth(int aDepth)
Copyright © 2011–2015. All rights reserved.