|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.washington.cs.knowitall.extractor.conf.LabeledBinaryExtractionWriter
public class LabeledBinaryExtractionWriter
Used for writing LabeledBinaryExtraction
objects to plain text. See
the documentation for LabeledBinaryExtractionReader
for details on the
format used.
Constructor Summary | |
---|---|
LabeledBinaryExtractionWriter(java.io.OutputStream stream)
Constructs a new writer to the given stream. |
Method Summary | |
---|---|
void |
writeExtraction(LabeledBinaryExtraction extr)
Writes the given labeled extraction to the output stream. |
void |
writeExtractions(java.lang.Iterable<LabeledBinaryExtraction> extrs)
Writes the given labeled extractions to the output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabeledBinaryExtractionWriter(java.io.OutputStream stream) throws java.io.IOException
stream
-
java.io.IOException
Method Detail |
---|
public void writeExtractions(java.lang.Iterable<LabeledBinaryExtraction> extrs) throws java.io.IOException
extrs
-
java.io.IOException
public void writeExtraction(LabeledBinaryExtraction extr) throws java.io.IOException
extr
-
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |