code: def add_length_args(parser):
      parser.add_argument(
          "--min_len",
          default=5,
          type=int,
          help="Minimum length sentence to keep.  None = unlimited",
      )
      parser.add_argument(
          "--no_min_len",
          dest="min_len",
          action="store_const",
          const=None,
          help="No minimum length",
      )
      parser.add_argument(
          "--max_len",
          default=100,
          type=int,
          help="Maximum length sentence to keep.  None = unlimited",
      )
      parser.add_argument(
          "--no_max_len",
          dest="max_len",
          action="store_const",
          const=None,
          help="No maximum length",
      )
  
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 2 for calling a global function with example usage: add_length_args(parser) without return types