A parse tree is an ordered, rooted tree representing the structure of a sentence, broken down to parts-of-speech.

This diagram uses a custom TreeLayout called FlatTreeLayout that places all leaf nodes at the same Y position. It also makes use of a TreeExpanderButton on the node template. See the Intro page on Buttons for more GoJS button information.

The abbreviations used in this diagram are:

  • NP, a noun phrase
  • VP, a verb phrase
  • PP, a prepositional phrase
  • DT, a determiner
  • JJ, an adjective
  • NN, a common noun
  • VBZ, a third person singular present verb
  • VBN, a past participle verb