code: def get_parser() -> argparse.Namespace:
      """Get argument parser."""
      parser = argparse.ArgumentParser(
          description="Evaluate Speaker Embedding Cosine Similarity."
      )
      parser.add_argument(
          "gen_wavdir_or_wavscp",
          type=str,
          help="Path of directory or wav.scp for generated waveforms.",
      )
      parser.add_argument(
          "gt_wavdir_or_wavscp",
          type=str,
          help="Path of directory or wav.scp for ground truth waveforms.",
      )
      parser.add_argument(
          "--outdir",
          type=str,
          help="Path of directory to write the results.",
      )
  
      # analysis related
      parser.add_argument(
          "--pretrained_model",
          default="speechbrain/spkrec-ecapa-voxceleb",
          type=str,
          help="Speechbrain pretrained model.",
      )
      parser.add_argument(
          "--device",
          type=str,
          default="cuda:0",
          help="Inference device",
      )
      parser.add_argument(
          "--verbose",
          default=1,
          type=int,
          help="Verbosity level. Higher is more logging.",
      )
      return parser
  
file_path: espnet/egs2/yesno/asr1/pyscripts/utils/evaluate_secs.py
imports: import argparse
  import fnmatch
  import logging
  import os
  from typing import List
  import librosa
  import numpy
  import soundfile
  import torch
  from scipy import spatial
  from speechbrain.dataio.preprocess import AudioNormalizer
  from speechbrain.pretrained import EncoderClassifier
label_desc: Use image node_id 3 for calling a global function with example usage: get_parser() and returns: parser