public class Treebanks extends Object
public static void main(String args) throws IOException
filePathwithin the given number range if any are loaded.
By default, this class works over raw trees.
You can normalize the trees as we usually do in an English-specific way by using either of the flags:
You can normalize for different treebanks by loading an appropriate TreeReaderFactory.
You can print trees one per line up to a certain length (for EVALB) and many other things.
java edu.stanford.nlp.trees.Treebanks [-maxLength n|-normalized|-treeReaderFactory class] filePath [numberRanges]
args- Array of command-line arguments
IOException- If there is a treebank file access problem
Stanford NLP Group