question: public static < L > String render ( Tree < L > tree ) { final StringBuilder sb = new StringBuilder ( ) ; renderTree ( tree , 0 , false , false , false , true , sb ) ; sb . append ( '\n' ) ; return sb . toString ( ) ; }
target:  Print the tree as done in Penn Treebank merged files. The formatting should be exactly the same, but we don't print the trailing whitespace found in Penn Treebank trees. The basic deviation from a bracketed indented tree is to in general collapse the printing of adjacent preterminals onto one line of tags and words. Additional complexities are that conjunctions (tag CC) are not collapsed in this way, and that the unlabeled outer brackets are collapsed onto the same line as the next bracket down.