Package opennlp.tools.postag
Klasse POSSampleEventStream
- Alle implementierten Schnittstellen:
AutoCloseable
,ObjectStream<Event>
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPOSSampleEventStream
(ObjectStream<POSSample> samples) Initializes the current instance with given samples and aDefaultPOSContextGenerator
.POSSampleEventStream
(ObjectStream<POSSample> samples, POSContextGenerator cg) Initializes the current instance with the given samples and aPOSContextGenerator
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggenerateEvents
(String[] sentence, String[] tags, Object[] additionalContext, POSContextGenerator cg) generateEvents
(String[] sentence, String[] tags, POSContextGenerator cg) Von Klasse geerbte Methoden opennlp.tools.util.AbstractEventStream
close, read, reset
-
Konstruktordetails
-
POSSampleEventStream
Initializes the current instance with the given samples and aPOSContextGenerator
.- Parameter:
samples
- The data stream for this event stream.cg
- APOSContextGenerator
to process the event streamsamples
.
-
POSSampleEventStream
Initializes the current instance with given samples and aDefaultPOSContextGenerator
.- Parameter:
samples
- The data stream for this event stream.
-
-
Methodendetails
-
generateEvents
-
generateEvents
-