public interface IlrBRLPredictionConfigurationDef
IlrBRLPredictionConfigurationDef represents a prediction
configuration used to control how the BRL prediction engine generates the
predictions.
This interface is not supposed to be instantiated outside the BRL Framework.
Use IlrBRLDefaultPredictionConfiguration or its subclasses
instead.IlrBRLDefaultPredictionConfiguration| Modifier and Type | Method and Description |
|---|---|
IlrConcept[] |
getExpectedConcepts()
Returns the array of expected concepts for predictions generated by the
prediction engine.
|
IlrBRLSemanticFilter |
getGlobalSemanticFilter()
Returns a global semantic filter that can be used to filter out
predictions generated by the prediction engine.
|
int |
getPredictionOffset()
Returns where the prediction engine will predict in the parser input.
|
java.util.Set |
getPredictions()
Returns the set to which all predictions are added.
|
boolean |
isAcceptingPlaceHolders()
Checks if the prediction engine is generating predictions for placeholders.
|
boolean |
isFullMode()
Tests if the prediction engine is generating all available predictions.
|
boolean |
isTemplateMode()
Checks if the prediction engine is generating predictions in template
mode.
|
boolean |
valuesAndConstantsOnly()
Checks if the prediction engine is generating value and constant
predictions only.
|
IlrConcept[] getExpectedConcepts()
null is returned,
predictions are not constrained by any concept.boolean isFullMode()
true is returned.
If relevant predictions only are generated, false is
returned.boolean isTemplateMode()
true
is returned.boolean isAcceptingPlaceHolders()
true
is returned.boolean valuesAndConstantsOnly()
true
is returned.int getPredictionOffset()
0, a
prediction set must be supplied.-1 is returned.getPredictions()java.util.Set getPredictions()
0.null prediction set. Predictions are added by
the prediction engine to the set returned.getPredictionOffset()IlrBRLSemanticFilter getGlobalSemanticFilter()
null is returned the default
filter declared in the language is used.© Copyright IBM Corp. 1987, 2017