class_docstr: A container for the nodes and labelled edges of a dependency structure.
docstr: Starting with the ``root`` node, build a dependency tree using the NLTK
  ``Tree`` constructor. Dependency labels are omitted.
docstr_tok: ["Starting","with","the","``","root","``","node",",","build","a","dependency","tree","using","the","NLTK","``","Tree","``","constructor",".","Dependency","labels","are","omitted","."]
code: def tree(self):
      """
      Starting with the ``root`` node, build a dependency tree using the NLTK
      ``Tree`` constructor. Dependency labels are omitted.
      """
      node = self.root
  
      word = node["word"]
      deps = sorted(chain.from_iterable(node["deps"].values()))
      return Tree(word, [self._tree(dep) for dep in deps])
  
imports: import subprocess
  import warnings
  from collections import defaultdict
  from itertools import chain
  from pprint import pformat
  from nltk.internals import find_binary
  from nltk.tree import Tree
label_desc: Use image node_id 19 for calling the DependencyGraph obj's underlying member method code with example usage: obj.tree() and returns: Tree