|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opennlp.grok.realize.Realizer
The realizer manages the realization process.
Field Summary | |
static int |
COMPLETENESS_AND_COMPLEMENTARITY_WEIGHTING
Completeness and complementarity edge weighting. |
static int |
COMPLETENESS_ONLY_WEIGHTING
Completeness only edge weighting. |
static int |
DEFAULT_WEIGHTING
Default edge weighting. |
opennlp.common.parse.Lexicon |
lexicon
The lexicon used to create edges. |
static int |
NGRAMS_ONLY_WEIGHTING
N-grams only edge weighting. |
static int |
NO_WEIGHTING
No edge weighting. |
opennlp.common.parse.RuleGroup |
rules
The rules used to create edges. |
int |
timeLimitMS
Default time limit. |
boolean |
waitForCompleteEdge
Default flag for whether to wait for a complete edge. |
int |
weightingOption
Default edge weighting option. |
Constructor Summary | |
Realizer(opennlp.common.parse.Lexicon lexicon,
opennlp.common.parse.RuleGroup rules)
Constructor. |
Method Summary | |
Chart |
getChart()
Returns the chart used in the latest request, or null if none. |
Edge |
realize(opennlp.common.synsem.LF lf,
java.util.List targets)
Realizes the input LF relative to the targets, returning the best edge found (or null if none). |
Edge |
realize(opennlp.common.synsem.LF lf,
java.lang.String target)
Realizes the input LF relative to a single target, returning the best edge found (or null if none). |
Edge |
realize(java.util.List preds,
java.util.List targets)
Realizes the input LF relative to the targets, returning the best edge found (or null if none). |
Edge |
realize(java.util.List preds,
java.util.List targets,
int weightingOption)
Realizes the input LF relative to the targets, with the given edge weighting option, returning the best edge found (or null if none). |
Edge |
realize(java.util.List preds,
java.util.List targets,
int timeLimitMS,
boolean waitForCompleteEdge)
Realizes the input LF relative to the targets, returning the best edge found (or null if none) in the given time limit (in ms), potentially waiting longer for a complete edge according to the given flag. |
Edge |
realize(java.util.List preds,
java.util.List targets,
int weightingOption,
int timeLimitMS,
boolean waitForCompleteEdge)
Realizes the input LF relative to the targets, with the given edge weighting option, returning the best edge found (or null if none) in the given time limit (in ms), potentially waiting longer for a complete edge according to the given flag. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final opennlp.common.parse.Lexicon lexicon
public final opennlp.common.parse.RuleGroup rules
public static final int DEFAULT_WEIGHTING
public static final int NGRAMS_ONLY_WEIGHTING
public static final int COMPLETENESS_AND_COMPLEMENTARITY_WEIGHTING
public static final int COMPLETENESS_ONLY_WEIGHTING
public static final int NO_WEIGHTING
public int weightingOption
public int timeLimitMS
public boolean waitForCompleteEdge
Constructor Detail |
public Realizer(opennlp.common.parse.Lexicon lexicon, opennlp.common.parse.RuleGroup rules)
Method Detail |
public Chart getChart()
public Edge realize(opennlp.common.synsem.LF lf, java.lang.String target)
public Edge realize(opennlp.common.synsem.LF lf, java.util.List targets)
public Edge realize(java.util.List preds, java.util.List targets)
public Edge realize(java.util.List preds, java.util.List targets, int weightingOption)
public Edge realize(java.util.List preds, java.util.List targets, int timeLimitMS, boolean waitForCompleteEdge)
public Edge realize(java.util.List preds, java.util.List targets, int weightingOption, int timeLimitMS, boolean waitForCompleteEdge)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |