code: def get_parser():
      parser = argparse.ArgumentParser()
      parser.add_argument("--lab_dir", type=str, required=True)
      parser.add_argument("--lab_name", type=str, required=True)
      parser.add_argument(
          "--lab_sets", default=["valid"], type=str, nargs="+"
      )
      parser.add_argument(
          "--phn_dir",
          default="data/librispeech_phoneme_alignment",
      )
      parser.add_argument(
          "--phn_sets",
          default=["dev-clean", "dev-other"],
          type=str,
          nargs="+",
      )
      parser.add_argument(
          "--pad_len",
          default=0,
          type=int,
          help="padding for hypotheses",
      )
      parser.add_argument(
          "--upsample",
          default=1,
          type=int,
          help="upsample factor for hypotheses",
      )
      parser.add_argument("--ref_lab_dir", default="")
      parser.add_argument("--ref_lab_name", default="")
      parser.add_argument("--verbose", type=str2bool, default=False)
      return parser
  
file_path: espnet/egs2/wsj0_2mix_spatialized/enh1/pyscripts/feats/measure_teacher_quality.py
imports: import argparse
  import re
  from collections import Counter
  import numpy
  from tabulate import tabulate
  from espnet2.utils.types import str2bool
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser