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)
SplitterAlgorithm
split
in interface SplitterAlgorithm
aWord
- The word to splitpublic void setDictionary(Dictionary aDict)
SplitterAlgorithm
setDictionary
in interface SplitterAlgorithm
aDict
- The dictionarypublic void setLinkingMorphemes(LinkingMorphemes aMorphemes)
SplitterAlgorithm
setLinkingMorphemes
in interface SplitterAlgorithm
aMorphemes
- the linking morphemespublic void setMaximalTreeDepth(int aDepth)
SplitterAlgorithm
setMaximalTreeDepth
in interface SplitterAlgorithm
aDepth
- maximal tree depth.Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.