Package opennlp.tools.formats.conllu
Class ConlluLemmaSampleStream
java.lang.Object
opennlp.tools.util.FilterObjectStream<ConlluSentence,LemmaSample>
 
opennlp.tools.formats.conllu.ConlluLemmaSampleStream
- All Implemented Interfaces:
- AutoCloseable,- ObjectStream<LemmaSample>
- 
Constructor SummaryConstructorsConstructorDescriptionConlluLemmaSampleStream(ObjectStream<ConlluSentence> samples, ConlluTagset tagset) Initializes aConlluLemmaSampleStream.
- 
Method SummaryMethods inherited from class opennlp.tools.util.FilterObjectStreamclose, reset
- 
Constructor Details- 
ConlluLemmaSampleStreamInitializes aConlluLemmaSampleStream.- Parameters:
- samples- The- samplesused as input.
- tagset- The- ConlluTagsetto use. Must not be- null.
 
 
- 
- 
Method Details- 
readDescription copied from interface:ObjectStreamReturns the nextObjectStreamobject. Calling this method repeatedly until it returnsnullwill return each object from the underlying source exactly once.- Returns:
- The next object or nullto signal that the stream is exhausted.
- Throws:
- IOException- Thrown if there is an error during reading.
 
 
-