opennlp.model
Interface SequenceStream

All Superinterfaces:
Iterable<Sequence>

public interface SequenceStream
extends Iterable<Sequence>

Interface for streams of sequences used to train sequence models.


Method Summary
 Event[] updateContext(Sequence sequence, AbstractModel model)
          Creates a new event array based on the outcomes predicted by the specified parameters for the specified sequence.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

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.
Returns:
event array


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.