Class RealBasicEventStream
java.lang.Object
opennlp.tools.ml.maxent.RealBasicEventStream
- All Implemented Interfaces:
AutoCloseable, opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>
public class RealBasicEventStream
extends Object
implements opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>
Class for real-valued
events as an
event stream.
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RealBasicEventStream
-
-
Method Details
-
read
- Specified by:
readin interfaceopennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>- Throws:
IOException- Thrown if there is an error during reading.RuntimeException- Thrown if negative real values are detected in the input data.
-
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
-