code: def get_parser():
      parser = argparse.ArgumentParser()
      parser.add_argument("--km_path", type=str, required=True)
      parser.add_argument("--use_gpu", type=str2bool, default=False)
      parser.add_argument(
          "--online_feature_extract", type=str2bool, default=False
      )
      parser.add_argument("--feature_conf", type=str, default=None)
      parser.add_argument("--batch_bins", type=int, default=1)
      parser.add_argument(
          "--utt2num_samples",
          type=str,
          default=None,
          help="Specify the utt2num_samples file.",
      )
  
      parser.add_argument(
          "--in_filetype",
          type=str,
          default="sound",
          choices=["mat", "hdf5", "sound.hdf5", "sound", "kaldi_ark"],
          help="Specify the file format for the rspecifier. "
          '"mat" is the matrix format in kaldi',
      )
      parser.add_argument(
          "--out_filetype",
          type=str,
          default="mat",
          choices=["mat", "hdf5", "sound.hdf5", "sound"],
          help="Specify the file format for the rspecifier. "
          '"mat" is the matrix format in kaldi',
      )
      parser.add_argument(
          "rspecifier",
          type=str,
          help="Read specifier for feats. e.g. ark:some.ark",
      )
      parser.add_argument(
          "wspecifier",
          type=str,
          help="Write specifier for labels. e.g. ark,t:some.txt",
      )
  
      return parser
  
file_path: espnet/egs2/siwis/tts1/pyscripts/feats/dump_km_label.py
imports: import argparse
  import logging
  import os
  import sys
  import joblib
  import numpy
  import torch
  from ssl_feature_utils import ESPnetHubertFeatureReader, HubertFeatureReader, MfccFeatureReader, S3PRLFeatureReader, build_data_iterator, format_feature_conf_str
  from espnet2.utils.types import str2bool
  from espnet.utils.cli_readers import file_reader_helper
  from espnet.utils.cli_writers import file_writer_helper
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser