|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.upenn.cis.ptb.standoff.SPTBLoaderImpl
Loader with returns instances of PTBTreeNodeImpl with label PTBLabelImpl. The Lex and Yacc specs do the grunt work.
| Constructor Summary | |
SPTBLoaderImpl()
Creates a new instance of SPTBLoaderImpl |
|
| Method Summary | |
PTBTreeNode |
load(java.io.Reader reader)
Load from reader which will be closed after reading. |
PTBTreeNode |
load(java.lang.String ptbFileName)
Load the file with the given fileName. |
PTBTreeNode |
load(java.lang.String ptbRoot,
java.lang.String secNo,
java.lang.String fileNo)
Load the file ptbRoot/ + secNo + /wsj_ + secNo + fileNo + .mrg. |
static void |
main(java.lang.String[] args)
|
static void |
printTreeNode(PTBTreeNode node,
int indent,
int indentIncr)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SPTBLoaderImpl()
| Method Detail |
public PTBTreeNode load(java.lang.String ptbFileName)
throws java.io.IOException
PTBLoader
load in interface PTBLoaderjava.io.IOException
public PTBTreeNode load(java.io.Reader reader)
throws java.io.IOException
PTBLoader
load in interface PTBLoaderjava.io.IOException
public PTBTreeNode load(java.lang.String ptbRoot,
java.lang.String secNo,
java.lang.String fileNo)
throws java.io.IOException
PTBLoader
load in interface PTBLoaderjava.io.IOException
public static void printTreeNode(PTBTreeNode node,
int indent,
int indentIncr)
public static void main(java.lang.String[] args)
args - the command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||