code: def get_parse_tree_depth(root):
      """Get the parse tree depth.
  
      :param root: The root of the parse tree.
      :type root: spacy.tokens.token.Token
      :return: The parse tree depth.
      :rtype: int
      """
      if not list(root.children):
          return 1
      else:
          return 1 + max(get_parse_tree_depth(x) for x in root.children)
  
file_path: responsible-ai-toolbox/responsibleai_text/responsibleai_text/utils/feature_extractors.py
imports: import re
  from typing import List, Optional, Union
  import pandas
  import spacy
  from negspacy.termsets import termset
  from tqdm import tqdm
  from nlp_feature_extractors import attribute_extractors
  from responsibleai_text.common.constants import ModelTask, QuestionAnsweringFields
label_desc: Use image node_id 6 for calling a global function with example usage: get_parse_tree_depth(root) and returns: int, unknown