code: def read_trn(file_path):
      assert Path(file_path).exists()
  
      ret_dict = OrderedDict()
      with open(file_path, "r", encoding="utf-8") as f:
          for line in f:
              line = line.rstrip()
              text, utt_id = line.rsplit("\t", maxsplit=1)
              if utt_id[0] == "(" and utt_id[-1] == ")":
                  utt_id = utt_id[1:-1]
              ret_dict[utt_id] = text
      return ret_dict
  
file_path: espnet/egs2/mr_openslr64/asr1/pyscripts/utils/eval_perm_free_error.py
imports: import argparse
  import codecs
  import re
  import sys
  from collections import OrderedDict
  from pathlib import Path
  from typing import List
  import numpy
  from scipy.optimize import linear_sum_assignment
label_desc: Use image node_id 6 for calling a global function with example usage: read_trn(file_path) and returns: ret_dict