code: def dependency_parse_tree_depth(doc):
      # Assumes that we hae one sentence
      sent = next(doc.sents)
      root = sent.root
      depth = 0
      queue = [(root, 0)]
      while len(queue) > 0:
          node, d = queue[0]
          depth = d
          queue = queue[1:]
          for child in node.children:
              queue.append((child, d + 1))
  
      return depth
  
file_path: responsible-ai-toolbox/nlp_feature_extractors/nlp_feature_extractors/attribute_extractors.py
imports: import pkg_resources
  from negspacy.negation import Negex
  from raiutils.dataset import fetch_dataset
label_desc: Use image node_id 14 for calling a global function with example usage: dependency_parse_tree_depth(doc) and returns: depth