public class ProbabilityRankerResource extends RankerResource
PARAM_FINDER_RESOURCE, ranker
Constructor and Description |
---|
ProbabilityRankerResource() |
Modifier and Type | Method and Description |
---|---|
DecompoundedWord |
highestRank(DecompoundingTree aSplitTree)
Returns the highest ranked split
|
boolean |
initialize(org.apache.uima.resource.ResourceSpecifier aSpecifier,
Map aAdditionalParams) |
void |
setFinder(Finder aFinder)
Sets the finder to the ranking algorithm
|
afterResourcesInitialized
getLogger, getResourceName
public boolean initialize(org.apache.uima.resource.ResourceSpecifier aSpecifier, Map aAdditionalParams) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.resource.Resource
initialize
in class RankerResource
org.apache.uima.resource.ResourceInitializationException
public DecompoundedWord highestRank(DecompoundingTree aSplitTree)
Ranker
aSplitTree
- A split tree generated by a splitting algorithmCopyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.