ilog.rules.brl.parsing.parser.prediction

Interface IlrParserPrediction

  • All Superinterfaces:
    java.lang.Comparable


    public interface IlrParserPrediction
    extends java.lang.Comparable
    IlrParserPrediction qualifies predictions calculated by a BRL prediction engine. This interface is not supposed to be implemented outside the BRL framework.
    Since:
    JRules 7.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getDisplay()
      Returns the readable representation of the prediction.
      java.lang.String getProposal()
      Returns a prediction proposal that can be inserted in the text at the location it was created.
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • Method Detail

      • getDisplay

        java.lang.String getDisplay()
        Returns the readable representation of the prediction. The String returned can be displayed in a GUI element such as a completion menu.
        Returns:
        A readable representation of the prediction.
      • getProposal

        java.lang.String getProposal()
        Returns a prediction proposal that can be inserted in the text at the location it was created. The proposal may be different from the display text.
        Returns:
        The prediction proposal text.

© Copyright IBM Corp. 1987, 2017