code: def add_predict_output_args(parser):
      """
      Args specifically for the output location of data
      """
      parser.add_argument(
          "--predict_dir",
          type=str,
          default=".",
          help="Where to write the predictions during --mode predict.  Pred and orig files will be written - the orig file will be retagged if that is requested.  Writing the orig file is useful for removing None and retagging",
      )
      parser.add_argument(
          "--predict_file",
          type=str,
          default=None,
          help="Base name for writing predictions",
      )
      parser.add_argument(
          "--predict_format",
          type=str,
          default="{:_O}",
          help="Format to use when writing predictions",
      )
  
file_path: stanza/stanza/models/constituency/utils.py
imports: from collections import Counter, deque
  import copy
  import logging
  import torch.nn
  from torch import optim
  from stanza.models.common.doc import TEXT, Document
  from stanza.utils.get_tqdm import get_tqdm
label_desc: Use image node_id 8 for calling a global function with example usage: add_predict_output_args(parser) without return types