code: def get_args():
      parser = argparse.ArgumentParser(
          description="""This script splits a kaldi text file
          into per_speaker text files""",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--affix", type=str, help="Append in front of output file"
      )
      parser.add_argument(
          "input_text", type=str, help="path of text file"
      )
      parser.add_argument(
          "input_utt2spk", type=str, help="path of utt2spk file"
      )
      parser.add_argument(
          "output_dir",
          type=str,
          help="Output path for per_session per_speaker reference files",
      )
      args = parser.parse_args()
      return args
  
file_path: espnet/egs/libri_css/asr1/local/get_perspeaker_output.py
imports: import argparse
  import itertools
  import os
  from collections import defaultdict
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: args