Class Event

java.lang.Object
opennlp.tools.ml.model.Event

public class Event extends Object
The context of a decision point during training. This includes contextual predicates and an outcome.
  • Constructor Details

    • Event

      public Event(String outcome, String[] context)
    • Event

      public Event(String outcome, String[] context, float[] values)
  • Method Details

    • getOutcome

      public String getOutcome()
    • getContext

      public String[] getContext()
    • getValues

      public float[] getValues()
    • toString

      public String toString()
      Overrides:
      toString in class Object