code: def update_processor_add_transformer(
      resources, lang, current_processors, processor, transformer
  ):
      if processor not in current_processors:
          return
  
      new_model = (
          current_processors[processor]
          .replace("_charlm", "_" + transformer)
          .replace("_nocharlm", "_" + transformer)
      )
      if new_model in resources[lang][processor]:
          current_processors[processor] = new_model
      else:
          print(
              "WARNING: wanted to use %s for %s accurate %s, but that model does not exist"
              % (new_model, lang, processor)
          )
  
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 27 for calling a global function with example usage: update_processor_add_transformer(resources, lang, current_processors, processor, transformer) without return types