public class YagoEntityCompleteAnnotator extends EntityAnnotator
EntityAnnotator.EntityType
Constructor and Description |
---|
YagoEntityCompleteAnnotator(YagoEntityContextScorerFactory.YagoEntityContextScorer contextScorer,
YagoEntityCandidateFinderFactory.YagoEntityCandidateFinder candidateFinder)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ScoredAnnotation<HashMap<String,Object>>> |
annotate(List<String> tokens)
Generate annotations for the given object.
|
Set<HashMap<String,Object>> |
getAnnotations() |
classify
public YagoEntityCompleteAnnotator(YagoEntityContextScorerFactory.YagoEntityContextScorer contextScorer, YagoEntityCandidateFinderFactory.YagoEntityCandidateFinder candidateFinder)
contextScorer
- candidateFinder
- public Set<HashMap<String,Object>> getAnnotations()