NAME

tree-collapse - reads multi-line Penn trees from files or STDIN and outputs trees one per line.

SYNOPSIS

tree-collapse [options] [file or STDIN]

 Options:
   -help            brief help message
   -man             full documentation

OPTIONS

-help

Print a brief help message and exits.

-man

Prints the manual page and exits.

DESCRIPTION

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.