Class SequenceStreamEventStream
java.lang.Object
opennlp.tools.ml.model.SequenceStreamEventStream
- All Implemented Interfaces:
AutoCloseable, opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>
public class SequenceStreamEventStream
extends Object
implements opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>
Class which turns a
SequenceStream into an event stream.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSequenceStreamEventStream(opennlp.tools.ml.model.SequenceStream<opennlp.tools.ml.model.Event> sequenceStream) -
Method Summary
-
Constructor Details
-
SequenceStreamEventStream
public SequenceStreamEventStream(opennlp.tools.ml.model.SequenceStream<opennlp.tools.ml.model.Event> sequenceStream)
-
-
Method Details
-
read
- Specified by:
readin interfaceopennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>- Throws:
IOException
-
reset
- Specified by:
resetin interfaceopennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>- Throws:
IOExceptionUnsupportedOperationException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceopennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>- Throws:
IOException
-