code: def get_parser() -> argparse.Namespace:
      """Get argument parser."""
  
      parser = argparse.ArgumentParser(
          description="make rttm from decoded result"
      )
      parser.add_argument("diarize_scp")
      parser.add_argument("out_rttm_file")
      parser.add_argument("--threshold", default=0.5, type=float)
      parser.add_argument("--frame_shift", default=128, type=int)
      parser.add_argument("--subsampling", default=1, type=int)
      parser.add_argument("--median", default=1, type=int)
      parser.add_argument("--sampling_rate", default="8000", type=str)
      parser.add_argument(
          "--verbose",
          default=1,
          type=int,
          help="Verbosity level. Higher is more logging.",
      )
      return parser
  
file_path: espnet/egs2/slue-voxpopuli/slu1/pyscripts/utils/make_rttm.py
imports: import argparse
  import logging
  import humanfriendly
  import numpy
  from scipy.signal import medfilt
  from espnet2.fileio.npy_scp import NpyScpReader
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser