code: def get_parser():
      parser = argparse.ArgumentParser(description="convert trn to stm")
      parser.add_argument(
          "--orig-stm",
          type=str,
          default=None,
          nargs="?",
          help="Original stm file to add additional information to the generated one",
      )
      parser.add_argument(
          "trn", type=str, default=None, nargs="?", help="input trn"
      )
      parser.add_argument(
          "stm", type=str, default=None, nargs="?", help="output stm"
      )
      return parser
  
imports: import argparse
  import codecs
  import re
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser