code: def load_segments_rechash(segments_file):
      """Load segments file as dict with recid index."""
      ret = {}
      if not os.path.exists(segments_file):
          return None
      for line in open(segments_file):
          utt, rec, st, et = line.strip().split()
          if rec not in ret:
              ret[rec] = []
          ret[rec].append(
              {"utt": utt, "st": float(st), "et": float(et)}
          )
      return ret
  
imports: from __future__ import print_function
  import io
  import os
  import subprocess
  import sys
  from functools import lru_cache
  import numpy
  import soundfile
label_desc: Use image node_id 3 for calling a global function with example usage: load_segments_rechash(segments_file) and returns: ret, None