public class AsvToolboxSplitterAlgorithm extends Object implements SplitterAlgorithm
Modifier and Type | Class and Description |
---|---|
class |
AsvToolboxSplitterAlgorithm.Zerleger2 |
Constructor and Description |
---|
AsvToolboxSplitterAlgorithm(File kompVVicTree,
File kompVHic,
File grfExt) |
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.
|
public DecompoundingTree split(String aWord) throws org.apache.uima.resource.ResourceInitializationException
SplitterAlgorithm
split
in interface SplitterAlgorithm
aWord
- The word to splitorg.apache.uima.resource.ResourceInitializationException
public void setDictionary(Dictionary aDict)
SplitterAlgorithm
setDictionary
in interface SplitterAlgorithm
aDict
- The dictionarypublic void setLinkingMorphemes(LinkingMorphemes aMorphemes)
SplitterAlgorithm
setLinkingMorphemes
in interface SplitterAlgorithm
public void setMaximalTreeDepth(int aDepth)
SplitterAlgorithm
setMaximalTreeDepth
in interface SplitterAlgorithm
Copyright © 2011–2015. All rights reserved.