public class YagoEntityCandidateAnnotator extends EntityAnnotator
EntityAnnotator.EntityType
Constructor and Description |
---|
YagoEntityCandidateAnnotator(YagoEntityCandidateFinderFactory.YagoEntityCandidateFinder ycf)
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 YagoEntityCandidateAnnotator(YagoEntityCandidateFinderFactory.YagoEntityCandidateFinder ycf)
ycf
- does the work of finding candidatespublic Set<HashMap<String,Object>> getAnnotations()