code: def main():
      args = parse_args()
      print(
          "Converting models from %s to %s"
          % (args.input_dir, args.output_dir)
      )
      if not args.packages_only:
          process_dirs(args)
      process_packages(args)
      if not args.packages_only:
          process_default_zips(args)
          process_lcode(args)
          process_misc(args)
  
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 34 for calling a global function with example usage: main() without return types