code: def get_dependencies(processor, lang, package):
      """
      Get the dependencies for a particular lang/package based on the package name
  
      The package can include descriptors such as _nopretrain, _nocharlm, _charlm
      which inform whether or not this particular model uses charlm or pretrain
      """
      if processor == "depparse":
          return get_depparse_dependencies(lang, package)
      elif processor == "lemma":
          return get_lemma_dependencies(lang, package)
      elif processor == "pos":
          return get_pos_dependencies(lang, package)
      elif processor == "ner":
          return get_ner_dependencies(lang, package)
      elif processor == "sentiment":
          return get_sentiment_dependencies(lang, package)
      elif processor == "constituency":
          return get_con_dependencies(lang, package)
      return {}
  
imports: import argparse
  from collections import defaultdict
  import json
  import os
  from pathlib import Path
  import hashlib
  import shutil
  import zipfile
  from stanza import __resources_version__
  from stanza.models.common.constant import lcode2lang, two_to_three_letters, three_to_two_letters
  from stanza.resources.default_packages import PACKAGES, TRANSFORMERS, TRANSFORMER_NICKNAMES
  from stanza.resources.default_packages import *
  from stanza.utils.get_tqdm import get_tqdm
label_desc: Use image node_id 20 for calling a global function with example usage: get_dependencies(processor, lang, package) and returns: dict, get_depparse_dependencies, get_lemma_dependencies, get_pos_dependencies, get_ner_dependencies, get_sentiment_dependencies, get_con_dependencies