public class POSToTokenSampleStream extends FilterObjectStream<POSSample,TokenSample>
Constructor and Description |
---|
POSToTokenSampleStream(Detokenizer detokenizer,
ObjectStream<POSSample> samples) |
Modifier and Type | Method and Description |
---|---|
TokenSample |
read()
Returns the next object.
|
close, reset
public POSToTokenSampleStream(Detokenizer detokenizer, ObjectStream<POSSample> samples)
public TokenSample read() throws IOException
ObjectStream
IOException
- if there is an error during readingCopyright © 2015 The Apache Software Foundation. All rights reserved.