code: def load_ref(path):
      with open(path) as f:
          lines = f.readlines()
      src, tgt, refs = [], [], []
      i = 0
      while i < len(lines):
          if lines[i].startswith("S-"):
              src.append(lines[i].split("\t")[1].rstrip())
              i += 1
          elif lines[i].startswith("T-"):
              tgt.append(lines[i].split("\t")[1].rstrip())
              i += 1
          else:
              a = []
              while i < len(lines) and lines[i].startswith("R"):
                  a.append(lines[i].split("\t")[1].rstrip())
                  i += 1
              refs.append(a)
      return src, tgt, refs
  
file_path: fairseq/examples/translation_moe/score.py
imports: import argparse
  import random
  import sys
  from itertools import chain
  import numpy
  import sacrebleu
  from sacrebleu import corpus_bleu
label_desc: Use image node_id 4 for calling a global function with example usage: load_ref(path) and returns: src,  tgt,  refs