UNPKG

phrase-tree

Version:

Converts the penn tagged phrase structure from the stanford parser into a tree.

8 lines 174 B
(S (NP (DT The) (NNS elephants)) (VP (VBD went) (PP (TO to) (NP (DT the) (NN lake))) (PP (IN in) (NP (DT the) (NN forest)))) (. .)))