You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@opennlp.apache.org by Carlos Scheidecker <na...@gmail.com> on 2014/02/03 22:12:55 UTC

How to convert the tree string representation into a tree object

Hello all,

If you have something like this:

Statement : On Tuesday, John Smith bought a Honda Accord

(TOP (SBAR (IN On) (S (NP (NNP Tuesday,) (NNP John) (NNP Smith)) (VP (VBD
bought) (NP (DT a) (NNP Honda) (NNP Accord))))))

I have generated that from the Parse class