Class Resolver
java.lang.Object
edu.tufts.hrilab.slug.refResolution.Resolver
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanassertProperties(Symbol ref, List<Term> properties) doubleassess(Hypothesis h, Property prop) completeSolutions(List<Hypothesis> s, List<Variable> av, List<Property> q) generateRE(Symbol ref) getActivatedEntities(List<String> groups) <E> EgetEntityForReference(Symbol ref, Class<E> entityJavaType) getProperties(Symbol ref) positReference(List<Term> properties, Symbol actor) voidupdateConsultCache(Symbol actor) void
-
Field Details
-
propertyCache
-
-
Constructor Details
-
Resolver
-
-
Method Details
-
updateConsultCache
-
updatePropertyCache
public void updatePropertyCache() -
getEntityForReference
-
assertProperties
-
positReference
-
resolve
public List<Hypothesis> resolve(List<Property> query, List<Variable> co, List<Hypothesis> initialHyps, boolean posit) -
completeSolutions
-
getVariableMapping
-
initialDomain
- Throws:
Exception
-
assess
-
getAllActivatedEntities
-
getActivatedEntities
-
b2h
-
getProperties
-
generateRE
-