code: def get_parser():
      """Get argument parser."""
      parser = argparse.ArgumentParser(
          description="Trim slience with simple power thresholding "
          "and make segments file.",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--fs",
          type=int,
          help="Sampling frequency.",
      )
      parser.add_argument(
          "--threshold",
          type=float,
          default=60,
          help="Threshold in decibels.",
      )
      parser.add_argument(
          "--win_length",
          type=int,
          default=1200,
          help="Analysis window length in point.",
      )
      parser.add_argument(
          "--shift_length",
          type=int,
          default=300,
          help="Shift length in point.",
      )
      parser.add_argument(
          "--min_silence",
          type=float,
          default=0.01,
          help="Minimum silence length in sec.",
      )
      parser.add_argument(
          "--figdir",
          type=str,
          default=None,
          help="Directory to save figures.",
      )
      parser.add_argument(
          "--verbose",
          default=0,
          type=int,
          help="Verbosity level.",
      )
      parser.add_argument(
          "--normalize",
          choices=[1, 16, 24, 32],
          type=int,
          default=None,
          help="Give the bit depth of the PCM, "
          "then normalizes data to scale in [-1,1].",
      )
      parser.add_argument(
          "rspecifier",
          type=str,
          help="WAV scp file.",
      )
      parser.add_argument(
          "wspecifier",
          type=str,
          help="Segments file.",
      )
      return parser
  
file_path: espnet/egs2/iam/ocr1/pyscripts/audio/trim_silence.py
imports: import argparse
  import codecs
  import logging
  import os
  import kaldiio
  import librosa
  import matplotlib.pyplot
  import numpy
  import resampy
  from espnet.utils.cli_utils import get_commandline_args
label_desc: Use image node_id 2 for calling a global function with example usage: get_parser() and returns: parser