INPUT - ENTITY - public abstract class EntityContextScorer<INPUT,ENTITY> extends Object
| Constructor and Description |
|---|
EntityContextScorer() |
| Modifier and Type | Method and Description |
|---|---|
abstract HashMap<ENTITY,Float> |
getScoredEntitiesFromContext(INPUT context)
Given a context give the likelihoods of each entity.
|
abstract Map<ENTITY,Float> |
getScoresForEntityList(List<String> entityUris,
INPUT context)
Given the context give the likelihood of each entity limited by the
entityUris list
|
abstract Map<NamedEntity,Float> |
getScoresForEntityList(List<String> entityUris,
String context) |
public EntityContextScorer()
public abstract HashMap<ENTITY,Float> getScoredEntitiesFromContext(INPUT context)
context - public abstract Map<ENTITY,Float> getScoresForEntityList(List<String> entityUris, INPUT context)
entityUris - context - public abstract Map<NamedEntity,Float> getScoresForEntityList(List<String> entityUris, String context)
entityUris - context -