Jeremy Kahn > Lingua-Treebank-0.15 > tree-collapse

Download:
Lingua-Treebank-0.15.tar.gz

Annotate this POD

CPAN RT

New  3
Open  0
View Bugs
Report a bug
Source   Latest Release: Lingua-Treebank-0.16

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.