sem.graphwriter
Class TSVGraphWriter

java.lang.Object
  extended by sem.graphwriter.TSVGraphWriter
All Implemented Interfaces:
GraphWriter

public class TSVGraphWriter
extends java.lang.Object
implements GraphWriter

Graph writer for the TSV format.


Constructor Summary
TSVGraphWriter(java.lang.String file)
           
 
Method Summary
 void close()
          Close the writer.
 void open(java.lang.String file)
          Open the writer (can be done from the constructor).
 void reset()
          Reset the writer.
 void write(Graph graph)
          Write a graph (as the only graph in a sentence).
 void write(java.util.List<Graph> sentence)
          Write a sentence (list of graphs).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSVGraphWriter

public TSVGraphWriter(java.lang.String file)
Method Detail

open

public void open(java.lang.String file)
Open the writer (can be done from the constructor).

Specified by:
open in interface GraphWriter

close

public void close()
Close the writer.

Specified by:
close in interface GraphWriter

write

public void write(Graph graph)
Write a graph (as the only graph in a sentence).

Specified by:
write in interface GraphWriter

write

public void write(java.util.List<Graph> sentence)
Write a sentence (list of graphs).

Specified by:
write in interface GraphWriter

reset

public void reset()
Reset the writer.