Package opennlp.tools.formats.ontonotes
Klasse DocumentToLineStream
java.lang.Object
opennlp.tools.util.FilterObjectStream<String,String>
opennlp.tools.formats.brat.SegmenterObjectStream<String,String>
opennlp.tools.formats.ontonotes.DocumentToLineStream
- Alle implementierten Schnittstellen:
AutoCloseable,ObjectStream<String>
Reads a plain text file and return each line as a
String object.-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDocumentToLineStream(ObjectStream<String> samples) Initializes aDocumentToLineStream. -
Methodenübersicht
Von Klasse geerbte Methoden opennlp.tools.formats.brat.SegmenterObjectStream
readVon Klasse geerbte Methoden opennlp.tools.util.FilterObjectStream
close, reset
-
Konstruktordetails
-
DocumentToLineStream
Initializes aDocumentToLineStream.- Parameter:
samples- Thesamplesas input. Must not benull.- Löst aus:
IllegalArgumentException- Thrown if parameters are invalid.
-