|Constructor and Description|
|Modifier and Type||Method and Description|
Reads a single tree in standard Penn Treebank format from the input stream.
public Tree readTree() throws java.io.IOException
Note that the method will skip malformed trees and attempt to
read additional trees from the input stream. It is possible, however,
that a malformed tree will corrupt the token stream. In this case,
IOException will eventually be thrown.
Stanford NLP Group