Schnittstelle SequenceStream<S>

Alle Superschnittstellen:
AutoCloseable, ObjectStream<Sequence<S>>
Alle bekannten Implementierungsklassen:
ChunkSampleSequenceStream, LemmaSampleSequenceStream, NameSampleSequenceStream, POSSampleSequenceStream

public interface SequenceStream<S> extends ObjectStream<Sequence<S>>
Interface for streams of sequences used to train sequence models.
Siehe auch:
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Creates a new event array based on the outcomes predicted by the specified parameters for the specified Sequence.

    Von Schnittstelle geerbte Methoden opennlp.tools.util.ObjectStream

    close, read, reset
  • Methodendetails

    • updateContext

      Event[] updateContext(Sequence<S> sequence, AbstractModel model)
      Creates a new event array based on the outcomes predicted by the specified parameters for the specified Sequence.
      Parameter:
      sequence - The Sequence to be evaluated.
      model - The model to use.
      Gibt zurück:
      The resulting Event array.