opennlp.model
Class Event

java.lang.Object
  extended by opennlp.model.Event

public class Event
extends Object

The context of a decision point during training. This includes contextual predicates and an outcome.


Constructor Summary
Event(String outcome, String[] context)
           
Event(String outcome, String[] context, float[] values)
           
 
Method Summary
 String[] getContext()
           
 String getOutcome()
           
 float[] getValues()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event(String outcome,
             String[] context)

Event

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

getOutcome

public String getOutcome()

getContext

public String[] getContext()

getValues

public float[] getValues()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.