tree-collapse - reads multi-line Penn trees from files or STDIN and outputs trees one per line.
tree-collapse [options] [file or STDIN]
Options: -help brief help message -man full documentation
Print a brief help message and exits.
Prints the manual page and exits.
Reads inflated Penn treebank-format trees, with children indented and possibly on different lines, and outputs intact trees, one tree per line with whitespace as input.