code: def add_constituency_args(parser):
      add_charlm_args(parser)
  
      parser.add_argument(
          "--use_bert",
          default=False,
          action="store_true",
          help="Use the default transformer for this language",
      )
  
      parser.add_argument(
          "--parse_text",
          dest="mode",
          action="store_const",
          const="parse_text",
          help="Parse a text file",
      )
  
file_path: stanza/stanza/utils/training/run_constituency.py
imports: import logging
  import os
  from stanza.models import constituency_parser
  from stanza.models.constituency.retagging import RETAG_METHOD
  from stanza.utils.datasets.constituency import prepare_con_dataset
  from stanza.utils.training import common
  from stanza.utils.training.common import Mode, add_charlm_args, build_charlm_args, choose_charlm, find_wordvec_pretrain
  from stanza.resources.default_packages import default_charlms, default_pretrains
label_desc: Use image node_id 1 for calling a global function with example usage: add_constituency_args(parser) without return types