code: def get_parser():
      parser = argparse.ArgumentParser(
          description="language identification scoring"
      )
      parser.add_argument(
          "--ref", type=str, help="input reference", required=True
      )
      parser.add_argument(
          "--hyp", type=str, help="input hypotheses", required=True
      )
      parser.add_argument(
          "--out",
          type=argparse.FileType("w"),
          default=sys.stdout,
          help="The output filename. "
          "If omitted, then output to sys.stdout",
      )
      return parser
  
imports: import argparse
  import codecs
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser