|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Loads a file containing a list of parse trees. The parse trees occur as children of the node returned by the load methods. This "root" node has a label with type=root.
| 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. |
| Method Detail |
public PTBTreeNode load(java.io.Reader reader)
throws java.io.IOException
java.io.IOException
public PTBTreeNode load(java.lang.String ptbFileName)
throws java.io.IOException
java.io.IOException
public PTBTreeNode load(java.lang.String ptbRoot,
java.lang.String secNo,
java.lang.String fileNo)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||