The parse tree is usually generated by a linguistic parser which is trained on a manually annotated corpus, such as Treebank.
the manually annotated corpus is always too inadequate to fully display the strengths of tree-based models.