Package | Description |
---|---|
net.sf.openschema |
Modifier and Type | Class and Description |
---|---|
class |
RDFFrameSet
A RDF-based implementation of the interface FrameSet.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
OpenSchemaPlanner.canBeInstantiated(OpenSchemaPlanner.Node node,
Map<String,Frame> varMapping,
OpenSchemaPlanner.Cache cache,
Ontology ontology,
FrameSet frames)
Check whether there is valid data to instantiate a node or not, given an initial variable mapping.
|
LocalChooser.Decision |
RandomChooser.choose(List<Map<String,Object>> fds,
List<Frame> defaultFoci,
Object currentFocus,
List<Frame> potentialFoci,
List<Frame> focusStack,
FrameSet frames) |
LocalChooser.Decision |
GreedyChooser.choose(List<Map<String,Object>> fds,
List<Frame> defaultFoci,
Object currentFocus,
List<Frame> potentialFoci,
List<Frame> focusStack,
FrameSet frames) |
LocalChooser.Decision |
SimpleFocusChooser.choose(List<Map<String,Object>> fds,
List<Frame> defaultFoci,
Object currentFocus,
List<Frame> potentialFoci,
List<Frame> focusStack,
FrameSet frames)
Choose the appropriate continuation, using some of McKeown (1985) strategies.
|
abstract LocalChooser.Decision |
LocalChooser.choose(List<Map<String,Object>> fds,
List<Frame> defaultFoci,
Object currentFocus,
List<Frame> potentialFoci,
List<Frame> focusStack,
FrameSet frames)
Decide which continuation to follow in the schema instantiation process.
|
protected LocalChooser.Decision |
SimpleFocusChooser.chooseOnPotentialToPotentialLinks(List<Integer> candidatePositions,
List<Frame> candidateDefaultFoci,
List<Map<String,Object>> fds,
List<Frame> potentialFoci,
FrameSet frames)
Final decision on a smaller set of candidates using the potential to potential links.
|
protected List<OpenSchemaPlanner.DecoratedNode> |
OpenSchemaPlanner.computeConfusionSet(OpenSchemaPlanner.Node node,
Map<String,Frame> varMapping,
OpenSchemaPlanner.Cache cache,
Ontology ontology,
FrameSet frames)
Compute all the nodes that are reachable from current node without passing through another Predicate node.
|
List<Frame> |
LocalChooser.extractPotentialFoci(Map<String,Object> fd,
FrameSet frames)
Extract a set of potential foci from a given clause.
|
protected static List<Frame> |
OpenSchemaPlanner.framesUnderType(Object type,
Ontology ontology,
FrameSet frames)
Retrieve all the frames in a FrameSet which type is a subtype of a given type.
|
DocumentPlan |
OpenSchemaPlanner.instantiate(FrameSet frames,
Map<String,Frame> initialMapping,
Ontology ontology)
Main method, takes data to instantiate the schema, an initial variable mapping and an ontology and returns a
DocumentPlan.
|
protected List<Map<Object,Frame>> |
OpenSchemaPlanner.searchValues(OpenSchemaPlanner.Node node,
Map<String,Frame> varMapping,
Ontology ontology,
FrameSet frames)
Search for values that satisfy the node properties and the given mapping of variables.
|
Copyright © 2015 Pablo Duboue. All rights reserved.