code: def common_args(parser):
      parser.add_argument(
          "--output_file",
          default="data/constituency/vi_silver.mrg",
          help="Where to write the silver trees",
      )
      parser.add_argument(
          "--lang",
          default="vi",
          help="Which language tools to use for tokenization and POS",
      )
      parser.add_argument(
          "--num_sentences",
          type=int,
          default=-1,
          help="How many sentences to get per file (max)",
      )
      parser.add_argument(
          "--models",
          default="saved_models/constituency/vi_vlsp21_inorder.pt",
          help="What models to use for parsing.  comma-separated",
      )
      parser.add_argument(
          "--package",
          default="default",
          help="Which package to load pretrain & charlm from for the parsers",
      )
      parser.add_argument(
          "--output_ptb",
          default=False,
          action="store_true",
          help="Output trees in PTB brackets (default is a bracket language format)",
      )
  
file_path: stanza/stanza/utils/datasets/constituency/selftrain.py
imports: import logging
  import os
  import random
  import re
  import stanza
  from stanza.models.common import utils
  from stanza.models.common.bert_embedding import TextTooLongError
  from stanza.utils.get_tqdm import get_tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: common_args(parser) without return types