code: def get_parser():
      parser = argparse.ArgumentParser(
          description="convert json to machine translation transcription",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument("json", type=str, help="json files")
      parser.add_argument(
          "dict", type=str, help="dict for target language"
      )
      parser.add_argument(
          "--refs", type=str, nargs="+", help="ref for all speakers"
      )
      parser.add_argument(
          "--hyps", type=str, nargs="+", help="hyp for all outputs"
      )
      parser.add_argument(
          "--srcs", type=str, nargs="+", help="src for all outputs"
      )
      parser.add_argument(
          "--dict-src",
          type=str,
          help="dict for source language",
          default=False,
          nargs="?",
      )
      return parser
  
file_path: espnet/utils/json2trn_mt.py
imports: import argparse
  import codecs
  import json
  import logging
  import sys
  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