opennlp.model
Interface SequenceStream
- All Superinterfaces:
- Iterable<Sequence>
public interface SequenceStream
- extends Iterable<Sequence>
Interface for streams of sequences used to train sequence models.
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.