opennlp.model
Interface SequenceStream
- All Superinterfaces:
- java.lang.Iterable<Sequence>
public interface SequenceStream
- extends java.lang.Iterable<Sequence>
Interface for streams of sequences used to train sequence models.
Methods inherited from interface java.lang.Iterable |
iterator |
updateContext
Event[] updateContext(Sequence sequence,
AbstractModel model)
- Creates a new event array based on the outcomes predicted by the specified parameters
for the specified sequence.
- Parameters:
sequence
- The sequence to be evaluated.ep
- The parameters of the current model.
- Returns:
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.