docs: def _get_deps(self, tree, include_punct, representation, universal):
          """Get a list of dependencies from a Stanford Tree for a specific
          Stanford Dependencies representation."""
          if universal:
              converter = self.universal_converter
  
              if self.universal_converter == self.converter:
                  import warnings
                  warnings.warn("This jar doesn't support universal "
                                "dependencies, falling back to Stanford "
                                "Dependencies. To suppress this message, "
                                "call with universal=False")
          else:
              converter = self.converter
  
          if include_punct:
              egs = converter(tree, self.acceptFilter)
          else:
              egs = converter(tree)
  
          if representation == 'basic':
              deps = egs.typedDependencies()
          elif representation == 'collapsed':
              deps = egs.typedDependenciesCollapsed(True)
          elif representation == 'CCprocessed':
              deps = egs.typedDependenciesCCprocessed(True)
          else:
              # _raise_on_bad_representation should ensure that this
              # assertion doesn't fail
              assert representation == 'collapsedTree'
              deps = egs.typedDependenciesCollapsedTree()
          return self._listify(deps)