Package opennlp.tools.ml.model
Klasse Sequence<T>
java.lang.Object
opennlp.tools.ml.model.Sequence<T>
- Typparameter:
T
- The type of the object which is the source of this sequence.
Class which models a sequence.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungEvent[]
This object is used when the events for this sequence need to be re-derived such as in a call toSequenceStream.updateContext(Sequence, AbstractModel)
.
-
Konstruktordetails
-
Sequence
InitializesSequence
made up of the specified events and derived from the specified source.- Parameter:
events
- Theevents
of the sequence.source
- Thesource object
for this sequence.
-
-
Methodendetails
-
getEvents
- Gibt zurück:
- Retrieves the events which make up this sequence.
-
getSource
This object is used when the events for this sequence need to be re-derived such as in a call toSequenceStream.updateContext(Sequence, AbstractModel)
.- Gibt zurück:
- Retrieves an object from which this sequence can be derived.
-