code: def LoadSpeakerDetails(speaker_details):
      spk_details = {}
      spk_file = open(speaker_details, "r", encoding="utf-8")
      content = spk_file.read()
      last_names = re.findall(r"\\last_name (.*?)\n", content, re.S)
      first_names = re.findall(r"\\first_name (.*?)\n", content, re.S)
      codes = re.findall(r"\\code (.*?)\n", content, re.S)
      assert len(last_names) == len(first_names) == len(codes)
      for last, first, code in zip(last_names, first_names, codes):
          spk_details[
              "%s %s"
              % (" ".join(first.split()), " ".join(last.split()))
          ] = code
      return spk_details
  
file_path: espnet/egs2/yoloxochitl_mixtec/asr1/local/data_prep.py
imports: import os
  import re
  import shutil
  import string
  import sys
  from argparse import ArgumentParser
  from xml.dom.minidom import parse
  import soundfile
label_desc: Use image node_id 7 for calling a global function with example usage: LoadSpeakerDetails(speaker_details) and returns: spk_details