public static class YagoEntityContextScorerFactory.YagoEntityContextScorer extends EntityContextScorer<List<String>,NamedEntity>
| Modifier and Type | Field and Description |
|---|---|
String[] |
names
lucene index field names.
|
| Modifier and Type | Method and Description |
|---|---|
HashMap<NamedEntity,Float> |
getScoredEntitiesFromContext(List<String> context)
Given a context give the likelihoods of each entity.
|
Map<NamedEntity,Float> |
getScoresForEntityList(List<String> entityUris,
List<String> context)
Given the context give the likelihood of each entity limited by the
entityUris list
|
Map<NamedEntity,Float> |
getScoresForEntityList(List<String> entityUris,
String context) |
public HashMap<NamedEntity,Float> getScoredEntitiesFromContext(List<String> context)
EntityContextScorergetScoredEntitiesFromContext in class EntityContextScorer<List<String>,NamedEntity>public Map<NamedEntity,Float> getScoresForEntityList(List<String> entityUris, List<String> context)
EntityContextScorergetScoresForEntityList in class EntityContextScorer<List<String>,NamedEntity>public Map<NamedEntity,Float> getScoresForEntityList(List<String> entityUris, String context)
getScoresForEntityList in class EntityContextScorer<List<String>,NamedEntity>