code: def parse_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--wordvec_pretrain_file",
          type=str,
          default=None,
          help="Exact name of the pretrain file to read",
      )
      parser.add_argument(
          "--charlm",
          default="default",
          type=str,
          help="Which charlm to run on.  Will use the default charlm for this language/model if not set.  Set to None to turn off charlm for languages with a default charlm",
      )
      parser.add_argument(
          "--no_charlm",
          dest="charlm",
          action="store_const",
          const=None,
          help="Don't use a charlm, even if one is used by default for this package",
      )
  
      parser.add_argument(
          "--load_dir",
          type=str,
          default="saved_models/constituency",
          help="Root dir for getting the models to resave.",
      )
      parser.add_argument(
          "--save_dir",
          type=str,
          default="resaved_models/constituency",
          help="Root dir for resaving the models.",
      )
  
      parser.add_argument(
          "treebanks",
          type=str,
          nargs="+",
          help="Which treebanks to run on.  Use all_ud or ud_all for all UD treebanks",
      )
  
      args = parser.parse_args()
      return args
  
file_path: stanza/stanza/utils/training/remove_constituency_optimizer.py
imports: import argparse
  import logging
  import os
  from stanza.models import constituency_parser
  from stanza.models.common.constant import treebank_to_short_name
  from stanza.resources.default_packages import default_charlms, default_pretrains
  from stanza.utils.training import common
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args