code: def main():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--reference-file",
          type=str,
          required=True,
          help="Text file containing reference tokenized (with whitespace separator) sentences.",
      )
      parser.add_argument(
          "--baseline-file",
          type=str,
          required=True,
          help="Text file containing tokenized sentences translated by baseline system.",
      )
      parser.add_argument(
          "--new-file",
          type=str,
          required=True,
          help="Text file containing tokenized sentences translated by new system.",
      )
      args = parser.parse_args()
  
      output = paired_bootstrap_resample_from_files(
          reference_file=args.reference_file,
          baseline_file=args.baseline_file,
          new_file=args.new_file,
      )
  
      print(f"Baseline BLEU: {output.baseline_bleu.score:.2f}")
      print(f"New BLEU: {output.new_bleu.score:.2f}")
      print(
          f"BLEU delta: {output.new_bleu.score - output.baseline_bleu.score:.2f} "
      )
      print(
          f"Baseline better confidence: {output.baseline_better / output.num_samples:.2%}"
      )
      print(
          f"New better confidence: {output.new_better / output.num_samples:.2%}"
      )
  
file_path: translate/pytorch_translate/bleu_significance.py
imports: import argparse
  from typing import List, NamedTuple, Optional
  import numpy
  import pandas
  import sacrebleu
label_desc: Use image node_id 5 for calling a global function with example usage: main() without return types