Package opennlp.tools.formats.ontonotes
Class DocumentToLineStream
- java.lang.Object
-
- opennlp.tools.util.FilterObjectStream<S,T>
-
- opennlp.tools.formats.brat.SegmenterObjectStream<String,String>
-
- opennlp.tools.formats.ontonotes.DocumentToLineStream
-
- All Implemented Interfaces:
AutoCloseable
,ObjectStream<String>
public class DocumentToLineStream extends SegmenterObjectStream<String,String>
Reads a plain text file and return each line as aString
object.
-
-
Constructor Summary
Constructors Constructor Description DocumentToLineStream(ObjectStream<String> samples)
-
-
-
Constructor Detail
-
DocumentToLineStream
public DocumentToLineStream(ObjectStream<String> samples)
-
-