code: def build_lemma_charlm_args(
      short_language,
      dataset,
      charlm,
      base_args=True,
      model_dir=DEFAULT_MODEL_DIR,
  ):
      charlm = choose_lemma_charlm(short_language, dataset, charlm)
      charlm_args = build_charlm_args(
          short_language, charlm, base_args, model_dir
      )
      return charlm_args
  
imports: import argparse
  import glob
  import logging
  import os
  import pathlib
  import sys
  import tempfile
  from enum import Enum
  from stanza.resources.default_packages import default_charlms, lemma_charlms, pos_charlms, depparse_charlms, TRANSFORMERS, TRANSFORMER_LAYERS
  from stanza.models.common.constant import treebank_to_short_name
  from stanza.models.common.utils import ud_scores
  from stanza.resources.common import download, DEFAULT_MODEL_DIR, UnknownLanguageError
  from stanza.utils.datasets import common
  import stanza.utils.default_paths
  from stanza.utils import conll18_ud_eval
label_desc: Use image node_id 18 for calling a global function with example usage: build_lemma_charlm_args(short_language, dataset, charlm, base_args, model_dir) and returns: charlm_args