code: def get_parser() -> argparse.ArgumentParser:
      # fmt: off
      parser = argparse.ArgumentParser(
          description="""
              This script creates scp file for RandomTextReader in  UASR training.
  
              Example:
                  text
                      text1line
                      text2line
                      text3line
                  scp
                      11
                      00000000000000000010
                      00000000110000000020
                      00000000210000000030
                  scp explanation
                      number of digits to store bytes offset
                      line 1 start at bytes 0 and end at 10 (including "\n")
                      line 2 start at bytes 11 and end at 20 (including "\n")
                      line 3 start at bytes 21 and end at 30 (including "\n")
          """,
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--input_text", type=str, required=True, help="Input text file.",
      )
      parser.add_argument("--output_scp", type=str, required=True, help="Output scp file")
      parser.add_argument(
          "--num_digits",
          type=int,
          default=11,
          help="Number of digits to store bytes offset",
      )
      # fmt: on
      return parser
  
file_path: espnet/egs2/TEMPLATE/asr2/pyscripts/text/make_text_scp.py
imports: import argparse
  import sys
  from mmap import mmap
  from pathlib import Path
  from espnet.utils.cli_utils import get_commandline_args
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser