code: def load_values(trial, trial2, scores, embed_dic):
      utt2dir = {}
      with open(trial) as f:
          lines = f.readlines()
      tmp_dic = {
          line.strip()
          .split(" ")[0]
          .split("*")[0]: line.strip()
          .split(" ")[1]
          for line in lines
      }
      utt2dir.update(tmp_dic)
      with open(trial2) as f:
          lines = f.readlines()
      tmp_dic = {
          line.strip()
          .split(" ")[0]
          .split("*")[1]: line.strip()
          .split(" ")[1]
          for line in lines
      }
      utt2dir.update(tmp_dic)
  
      with open(scores) as f:
          scores = f.readlines()
  
      embed_dic = dict(np.load(embed_dic))
  
      return utt2dir, scores, embed_dic
  
file_path: espnet/egs2/slurp_entity/asr1/pyscripts/utils/spk_apply_qmf_func.py
imports: import os
  import sys
  import numpy
  import soundfile
  from sklearn.linear_model import LogisticRegression
label_desc: Use image node_id 2 for calling a global function with example usage: load_values(trial, trial2, scores, embed_dic) and returns: utt2dir,  scores,  embed_dic