|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.creole.ml.maxent.GateEventStream
public class GateEventStream
This class is used by MaxentWrapper. When created, it is passed a data structure containg all the training data for the classifier. It can then provide this data to the maxent model itself, as needed.
Method Summary | |
---|---|
boolean |
hasNext()
See whether there are any more instances to be extracted from this object. |
opennlp.maxent.Event |
nextEvent()
Extract the next instance from those stored in this object, and advance the objects internal index to point at the next instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public opennlp.maxent.Event nextEvent()
nextEvent
in interface opennlp.maxent.EventStream
public boolean hasNext()
hasNext
in interface opennlp.maxent.EventStream
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |