Class Growler
java.lang.Object
edu.tufts.hrilab.slug.refResolution.Growler
Growler: Givenness and Relevance Theoretic Open-World Entity Resolution
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final doublestatic final doublestatic final double[] -
Constructor Summary
ConstructorsConstructorDescriptionGrowler(Resolver resolver, edu.tufts.hrilab.slug.refResolution.ReferenceResolutionComponent.GHSelfModel gh, Map<Symbol, EntityScore> relevanceMap) -
Method Summary
Modifier and TypeMethodDescriptionstatic Hypothesisstatic List<CrossMappingCandidateList>generateFullTable(List<SingleVarCandidateList> svcls, List<Term> allTerms) voidgenerateInitialValidCandidateList(SingleVarCandidateList svcl, List<Term> allTerms) getMnemonicActions(Symbol ghTier) doublegetProbabilityOfSatisfyingPolyadicProperties(List<RelevanceTheoreticBinding> bindings, List<Term> allTerms) doublegetProbabilityOfSatisfyingProperties(List<RelevanceTheoreticBinding> relevantBindings, List<Property> props) doublegetProbabilityofSatisfyingUnaryPredicates(RelevanceTheoreticBinding binding, List<Term> allTerms) doublegetRelevance(Symbol ref) static List<CrossMappingCandidateList>mergeCrossMappingCandidateLists(List<CrossMappingCandidateList> first, List<CrossMappingCandidateList> second) posit_to_LTM(List<Term> terms, List<Variable> varNames, Hypothesis initialHyp) The GROWLER algorithm.resolve_from_LTM(List<Term> terms, List<Variable> vars, Hypothesis initialHyp, boolean posit) static doublescaleRelevance(double x) static doubleweightRelevance(EntityScore score)
-
Field Details
-
RELEVANCE_THRESHOLD
public static final double RELEVANCE_THRESHOLD- See Also:
-
PROBABILITY_THRESHOLD
public static final double PROBABILITY_THRESHOLD- See Also:
-
DEFAULT_RELEVANCE
public static final double DEFAULT_RELEVANCE- See Also:
-
RELEVANCE_WEIGHTINGS
public static final double[] RELEVANCE_WEIGHTINGS
-
-
Constructor Details
-
Growler
public Growler(Resolver resolver, edu.tufts.hrilab.slug.refResolution.ReferenceResolutionComponent.GHSelfModel gh, Map<Symbol, EntityScore> relevanceMap)
-
-
Method Details
-
scaleRelevance
public static double scaleRelevance(double x) -
weightRelevance
-
cmclToHypothesis
-
generateCrossMappingCandidateList
public static List<CrossMappingCandidateList> generateCrossMappingCandidateList(SingleVarCandidateList svc) -
mergeCrossMappingCandidateLists
public static List<CrossMappingCandidateList> mergeCrossMappingCandidateLists(List<CrossMappingCandidateList> first, List<CrossMappingCandidateList> second) -
getMnemonicActions
-
domain
-
getRelevance
-
getProbabilityofSatisfyingUnaryPredicates
public double getProbabilityofSatisfyingUnaryPredicates(RelevanceTheoreticBinding binding, List<Term> allTerms) -
getProbabilityOfSatisfyingProperties
public double getProbabilityOfSatisfyingProperties(List<RelevanceTheoreticBinding> relevantBindings, List<Property> props) -
getProbabilityOfSatisfyingPolyadicProperties
public double getProbabilityOfSatisfyingPolyadicProperties(List<RelevanceTheoreticBinding> bindings, List<Term> allTerms) -
generateInitialValidCandidateList
-
generateFullTable
public List<CrossMappingCandidateList> generateFullTable(List<SingleVarCandidateList> svcls, List<Term> allTerms) -
resolve_clause
The GROWLER algorithm.- Parameters:
semantics- The set of semantic constraints to use during resolutionstatuses- The set of status cue mappings for each variable used in those constraints.- Returns:
-
resolve_from_LTM
public List<Hypothesis> resolve_from_LTM(List<Term> terms, List<Variable> vars, Hypothesis initialHyp, boolean posit) -
posit_to_LTM
public List<Hypothesis> posit_to_LTM(List<Term> terms, List<Variable> varNames, Hypothesis initialHyp)
-