Package opennlp.tools.ml.model
Class Sequence<T>
java.lang.Object
opennlp.tools.ml.model.Sequence<T>
- Type Parameters:
- T- The type of the object which is the source of this sequence.
Class which models a sequence.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionEvent[]This object is used when the events for this sequence need to be re-derived such as in a call toSequenceStream.updateContext(Sequence, AbstractModel).
- 
Constructor Details- 
SequenceInitializesSequencemade up of the specified events and derived from the specified source.- Parameters:
- events- The- eventsof the sequence.
- source- The- source objectfor this sequence.
 
 
- 
- 
Method Details- 
getEvents- Returns:
- Retrieves the events which make up this sequence.
 
- 
getSourceThis object is used when the events for this sequence need to be re-derived such as in a call toSequenceStream.updateContext(Sequence, AbstractModel).- Returns:
- Retrieves an object from which this sequence can be derived.
 
 
-