code: def parse_data(
      root: Path, lang: str, dataset: str
  ) -> Dict[str, List[Dict]]:
      txt_path = root / f"en-{lang}" / "data" / dataset / "txt"
      wav_path = root / f"en-{lang}" / "data" / dataset / "wav"
  
      with open(txt_path / f"{dataset}.yaml", "r") as fp:
          utts = yaml.safe_load(fp)
  
      with open(txt_path / f"{dataset}.en", "r") as fp:
          src_text = [ln.strip() for ln in fp.readlines()]
  
      with open(txt_path / f"{dataset}.{lang}", "r") as fp:
          tgt_text = [ln.strip() for ln in fp.readlines()]
  
      assert len(src_text) == len(tgt_text) and len(tgt_text) == len(
          utts
      )
  
      wav2utts = {}
      for idx, utt in enumerate(utts):
          wav_name = utt["wav"]  # e.g.: 'ted_767.wav'
          if wav_name not in wav2utts:
              wav2utts[wav_name] = []
  
          utt["wav"] = str(
              (wav_path / wav_name).resolve()
          )  # get full path
          utt["src"] = " ".join(
              src_text[idx].split()
          )  # always use standard space
          utt["tgt"] = " ".join(tgt_text[idx].split())
          wav2utts[wav_name].append(utt)
  
      return wav2utts
  
file_path: espnet/egs2/must_c_v2/s2t1/local/data_prep.py
imports: from argparse import ArgumentParser
  from pathlib import Path
  from typing import Dict, List, Optional, Tuple, Union
  import yaml
label_desc: Use image node_id 1 for calling a global function with example usage: parse_data(root, lang, dataset) and returns: wav2utts