public interface IlrBRLMutablePredictionConfiguration extends IlrBRLPredictionConfigurationDef
IlrBRLMutablePredictionConfiguration is the mutable facade of
a BRL prediction configuration.
This interface is not supposed to be implemented outside the BRL Framework.
Use and extend the default implementation of the
IlrBRLDefaultPredictionConfiguration interface or its
subclasses.
IlrBRLDefaultPredictionConfiguration| Modifier and Type | Method and Description |
|---|---|
void |
setAcceptingPlaceHolders(boolean acceptPlaceHolders)
Changes the place-holder prediction setting in the prediction engine.
|
void |
setExpectedConcepts(IlrConcept[] expectedConcepts)
Sets the expected concepts for predictions generated by the
prediction engine.
|
void |
setFullMode(boolean mode)
Switches the prediction engine to full mode.
|
void |
setGlobalSemanticFilter(IlrBRLSemanticFilter filter)
Sets the global semantic filter used to filter predictions generated by
the prediction engine.
|
void |
setPredictionOffset(int offset)
Sets the prediction offset.
|
void |
setTemplateMode(boolean mode)
Switches the prediction engine to template mode.
|
void |
setValuesAndConstantsOnly(boolean valuesConstantsOnly)
Changes the value and constant prediction settings.
|
getExpectedConcepts, getGlobalSemanticFilter, getPredictionOffset, getPredictions, isAcceptingPlaceHolders, isFullMode, isTemplateMode, valuesAndConstantsOnlyvoid setExpectedConcepts(IlrConcept[] expectedConcepts)
expectedConcepts - An array of expected concepts. Set to
null if predictions are not constrained by any concept.void setAcceptingPlaceHolders(boolean acceptPlaceHolders)
acceptPlaceHolders - Set to true so the prediction
engine generates predictions for place holders.void setFullMode(boolean mode)
mode - Set to true to change to full mode.void setTemplateMode(boolean mode)
mode - Set to true to change to template mode.void setValuesAndConstantsOnly(boolean valuesConstantsOnly)
valuesConstantsOnly - Set to true for the prediction
engine to generate value and constant predictions only.void setPredictionOffset(int offset)
offset - The new prediction offset.void setGlobalSemanticFilter(IlrBRLSemanticFilter filter)
filter - The new semantic filter.© Copyright IBM Corp. 1987, 2017