public class SimpleFocusChooser extends LocalChooser
The heuristics are as follow:
LocalChooser.Decision
Modifier and Type | Field and Description |
---|---|
protected Ontology |
ontology
Ontology, employed for the potential focus lists linking decision process.
|
static boolean |
verbose
Verbosity flag, defaults to off.
|
Constructor and Description |
---|
SimpleFocusChooser(Ontology ontology)
Constructor, receives the ontology.
|
Modifier and Type | Method and Description |
---|---|
LocalChooser.Decision |
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.
|
protected LocalChooser.Decision |
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.
|
extractPotentialFoci
public static boolean verbose
protected Ontology ontology
public SimpleFocusChooser(Ontology ontology)
public LocalChooser.Decision choose(List<Map<String,Object>> fds, List<Frame> defaultFoci, Object currentFocus, List<Frame> potentialFoci, List<Frame> focusStack, FrameSet frames)
choose
in class LocalChooser
protected LocalChooser.Decision chooseOnPotentialToPotentialLinks(List<Integer> candidatePositions, List<Frame> candidateDefaultFoci, List<Map<String,Object>> fds, List<Frame> potentialFoci, FrameSet frames)
Copyright © 2015 Pablo Duboue. All rights reserved.