public class LabeledBinaryExtractionWriter extends Object
LabeledBinaryExtraction objects to plain text.
See the documentation for LabeledBinaryExtractionReader for
details on the format used.| Constructor and Description |
|---|
LabeledBinaryExtractionWriter(OutputStream stream)
Constructs a new writer to the given stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeExtraction(LabeledBinaryExtraction extr)
Writes the given labeled extraction to the output stream.
|
void |
writeExtractions(Iterable<LabeledBinaryExtraction> extrs)
Writes the given labeled extractions to the output stream.
|
public LabeledBinaryExtractionWriter(OutputStream stream) throws IOException
stream - IOExceptionpublic void writeExtractions(Iterable<LabeledBinaryExtraction> extrs) throws IOException
extrs - IOExceptionpublic void writeExtraction(LabeledBinaryExtraction extr) throws IOException
extr - IOExceptionCopyright © 2010-2013 University of Washington CSE. All Rights Reserved.