|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsem.graphreader.CnCGraphReader
public class CnCGraphReader
Graph reader for the C&C parser format.
For more info: http://svn.ask.it.usyd.edu.au/trac/candc
Constructor Summary | |
---|---|
CnCGraphReader(java.lang.String inputPath)
|
Method Summary | |
---|---|
void |
close()
Close the reader. |
boolean |
hasNext()
Check whether there is another graph available. |
static void |
main(java.lang.String[] args)
|
Graph |
next()
Get the next graph. |
java.util.ArrayList<Graph> |
nextSentence()
Get the next sentence. |
void |
reset()
Reset the reader. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CnCGraphReader(java.lang.String inputPath) throws GraphFormatException
GraphFormatException
Method Detail |
---|
public boolean hasNext()
hasNext
in interface GraphReader
public Graph next() throws GraphFormatException
next
in interface GraphReader
GraphFormatException
public java.util.ArrayList<Graph> nextSentence() throws GraphFormatException
nextSentence
in interface GraphReader
GraphFormatException
public void reset() throws GraphFormatException
reset
in interface GraphReader
GraphFormatException
public void close()
close
in interface GraphReader
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |