code: def get_default_fast(resources, lang):
      """
      Build a packages entry which only has the nocharlm models
  
      Will make it easy for people to use the lower tier of models
  
      We do this by building the same default package as normal,
      then switching everything out for the lower tier model when possible.
      We also remove constituency, as it is super slow.
      Note that in the case of a language which doesn't have a charlm,
      that means we wind up building the same for default and default_nocharlm
      """
      default_processors = get_default_processors(resources, lang)
  
      # this is a slow model and we don't have non-charlm versions of it yet
      if "constituency" in default_processors:
          default_processors.pop("constituency")
  
      for processor, model in default_processors.items():
          if "_charlm" in model:
              nocharlm = model.replace("_charlm", "_nocharlm")
              if nocharlm not in resources[lang][processor]:
                  print(
                      "WARNING: wanted to use %s for %s default_fast processor %s, but that model does not exist"
                      % (nocharlm, lang, processor)
                  )
              else:
                  default_processors[processor] = nocharlm
  
      return default_processors
  
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 30 for calling a global function with example usage: get_default_fast(resources, lang) and returns: default_processors