public class SequenceLabelerSequenceStream extends Object implements opennlp.tools.ml.model.SequenceStream
| Constructor and Description |
|---|
SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi) |
SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi,
opennlp.tools.util.featuregen.AdaptiveFeatureGenerator featureGen) |
SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi,
opennlp.tools.util.featuregen.AdaptiveFeatureGenerator featureGen,
boolean useOutcomes) |
SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi,
SequenceLabelerContextGenerator pcg) |
SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi,
SequenceLabelerContextGenerator pcg,
boolean useOutcomes) |
SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi,
SequenceLabelerContextGenerator pcg,
boolean useOutcomes,
SequenceLabelerCodec<String> seqCodec) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
opennlp.tools.ml.model.Sequence |
read() |
void |
reset() |
opennlp.tools.ml.model.Event[] |
updateContext(opennlp.tools.ml.model.Sequence sequence,
opennlp.tools.ml.model.AbstractModel model) |
public SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi) throws IOException
IOExceptionpublic SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi, opennlp.tools.util.featuregen.AdaptiveFeatureGenerator featureGen) throws IOException
IOExceptionpublic SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi, opennlp.tools.util.featuregen.AdaptiveFeatureGenerator featureGen, boolean useOutcomes) throws IOException
IOExceptionpublic SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi, SequenceLabelerContextGenerator pcg) throws IOException
IOExceptionpublic SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi, SequenceLabelerContextGenerator pcg, boolean useOutcomes) throws IOException
IOExceptionpublic SequenceLabelerSequenceStream(opennlp.tools.util.ObjectStream<SequenceLabelSample> psi, SequenceLabelerContextGenerator pcg, boolean useOutcomes, SequenceLabelerCodec<String> seqCodec) throws IOException
IOExceptionpublic opennlp.tools.ml.model.Event[] updateContext(opennlp.tools.ml.model.Sequence sequence,
opennlp.tools.ml.model.AbstractModel model)
updateContext in interface opennlp.tools.ml.model.SequenceStreampublic opennlp.tools.ml.model.Sequence read()
throws IOException
read in interface opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Sequence>IOExceptionpublic void reset()
throws IOException,
UnsupportedOperationException
reset in interface opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Sequence>IOExceptionUnsupportedOperationExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Sequence>IOExceptionCopyright © 2016 IXA pipes. All rights reserved.