code: def get_parser():
      parser = argparse.ArgumentParser(
          description="convert raw text to tokenized text",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--nchar",
          "-n",
          default=1,
          type=int,
          help="number of characters to split, i.e., \
                          aabb -> a a b b with -n 1 and aa bb with -n 2",
      )
      parser.add_argument(
          "--skip-ncols",
          "-s",
          default=0,
          type=int,
          help="skip first n columns",
      )
      parser.add_argument(
          "--space", default="<space>", type=str, help="space symbol"
      )
      parser.add_argument(
          "--non-lang-syms",
          "-l",
          default=None,
          type=str,
          help="list of non-linguistic symobles, e.g., <NOISE> etc.",
      )
      parser.add_argument(
          "text", type=str, default=False, nargs="?", help="input text"
      )
      parser.add_argument(
          "--trans_type",
          "-t",
          type=str,
          default="char",
          choices=["char", "phn"],
          help="""Transcript type. char/phn. e.g., for TIMIT FADG0_SI1279 -
                          If trans_type is char,
                          read from SI1279.WRD file -> "bricks are an alternative"
                          Else if trans_type is phn,
                          read from SI1279.PHN file -> "sil b r ih sil k s aa r er n aa l
                          sil t er n ih sil t ih v sil" """,
      )
      return parser
  
imports: import argparse
  import codecs
  import re
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: get_parser() and returns: parser