code: def add_retag_args(parser):
      """
      Arguments specifically for retagging treebanks
      """
      parser.add_argument(
          "--retag_package",
          default="default",
          help="Which tagger shortname to use when retagging trees.  None for no retagging.  Retagging is recommended, as gold tags will not be available at pipeline time",
      )
      parser.add_argument(
          "--retag_method",
          default=None,
          choices=["xpos", "upos"],
          help="Which tags to use when retagging.  Default depends on the language",
      )
      parser.add_argument(
          "--retag_model_path",
          default=None,
          help="Path to a retag POS model to use.  Will use a downloaded Stanza model by default.  Can specify multiple taggers with ; in which case the majority vote wins",
      )
      parser.add_argument(
          "--retag_pretrain_path",
          default=None,
          help="Use this for a pretrain path for the retagging pipeline.  Generally not needed unless using a custom POS model with a custom pretrain",
      )
      parser.add_argument(
          "--retag_charlm_forward_file",
          default=None,
          help="Use this for a forward charlm path for the retagging pipeline.  Generally not needed unless using a custom POS model with a custom charlm",
      )
      parser.add_argument(
          "--retag_charlm_backward_file",
          default=None,
          help="Use this for a backward charlm  path for the retagging pipeline.  Generally not needed unless using a custom POS model with a custom charlm",
      )
      parser.add_argument(
          "--no_retag",
          dest="retag_package",
          action="store_const",
          const=None,
          help="Don't retag the trees",
      )
  
file_path: stanza/stanza/models/constituency/retagging.py
imports: import copy
  import logging
  from stanza import Pipeline
  from stanza.models.common.foundation_cache import FoundationCache
  from stanza.models.common.vocab import VOCAB_PREFIX
  from stanza.resources.common import download_resources_json, load_resources_json, get_language_resources
label_desc: Use image node_id 1 for calling a global function with example usage: add_retag_args(parser) without return types