code: def get_parser():
      parser = argparse.ArgumentParser(
          description="Evaluate enhanced speech. "
          "e.g. {c} --ref ref.scp --enh enh.scp --outdir outputdir"
          "or {c} --ref ref.scp ref2.scp --enh enh.scp enh2.scp "
          "--outdir outputdir".format(c=sys.argv[0]),
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--verbose", "-V", default=0, type=int, help="Verbose option"
      )
      parser.add_argument(
          "--ref",
          dest="reffiles",
          nargs="+",
          type=str,
          required=True,
          help="WAV file lists for reference",
      )
      parser.add_argument(
          "--enh",
          dest="enhfiles",
          nargs="+",
          type=str,
          required=True,
          help="WAV files lists for enhanced",
      )
      parser.add_argument("--outdir", type=str, required=True)
      parser.add_argument(
          "--keylist",
          type=str,
          help="Specify the target samples. By default, "
          "using all keys in the first reference file",
      )
      parser.add_argument(
          "--evaltypes",
          type=str,
          nargs="+",
          choices=["SDR", "STOI", "ESTOI", "PESQ"],
          default=["SDR", "STOI", "ESTOI", "PESQ"],
      )
      parser.add_argument(
          "--permutation",
          type=strtobool,
          default=True,
          help="Compute all permutations or "
          "use the pair of input order",
      )
  
      # About BSS Eval v4:
      # The 2018 Signal Separation Evaluation Campaign
      # https://arxiv.org/abs/1804.06267
      parser.add_argument(
          "--bss-eval-images",
          type=strtobool,
          default=True,
          help="Use bss_eval_images or bss_eval_sources. "
          "For more detail, see museval source codes.",
      )
      parser.add_argument(
          "--bss-eval-version",
          type=str,
          default="v3",
          choices=["v3", "v4"],
          help="Specify bss-eval-version: v3 or v4",
      )
      return parser
  
imports: import argparse
  import itertools
  import logging
  import os
  import shutil
  import subprocess
  import sys
  import warnings
  from collections import OrderedDict
  from distutils.util import strtobool
  from pathlib import Path
  from tempfile import TemporaryDirectory
  import museval
  import numpy
  import soundfile
  from pystoi.stoi import stoi
  from espnet.utils.cli_utils import get_commandline_args
label_desc: Use image node_id 3 for calling a global function with example usage: get_parser() and returns: parser