code: def convert_score(keys, dic):
      ret = {}
      pat = re.compile(r"\d+")
      for k in keys:
          score = dic[k]["Scores"]
          score = list(map(int, pat.findall(score)))  # [c,s,d,i]
          assert len(score) == 4
          ret[k] = score
      return ret
  
file_path: espnet/utils/eval_perm_free_error.py
imports: import argparse
  import codecs
  import json
  import logging
  import re
  import sys
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: convert_score(keys, dic) and returns: ret