code: def prepare_files(
      dest_folder, audio_folder, transcriptions, fnames, utt_ids
  ):
      with open(
          os.path.join(dest_folder, "text"), "w", encoding="utf-8"
      ) as f:
          for line in transcriptions:
              f.write(line)
              f.write("\n")
      with open(
          os.path.join(dest_folder, "spk2utt"), "w", encoding="utf-8"
      ) as f:
          for idx in utt_ids:
              line = idx + " " + idx
              f.write(line)
              f.write("\n")
      with open(
          os.path.join(dest_folder, "utt2spk"), "w", encoding="utf-8"
      ) as f:
          for idx in utt_ids:
              line = idx + " " + idx
              f.write(line)
              f.write("\n")
      with open(
          os.path.join(dest_folder, "utt2gender"), "w", encoding="utf-8"
      ) as f:
          for idx in utt_ids:
              line = idx + " " + "m"
              f.write(line)
              f.write("\n")
      with open(
          os.path.join(dest_folder, "wav.scp"), "w", encoding="utf-8"
      ) as f:
          for idx, fname in zip(utt_ids, fnames):
              fpath = os.path.join(audio_folder, fname + ".wav")
              line = idx + " " + fpath
              f.write(line)
              f.write("\n")
  
file_path: espnet/egs2/microsoft_speech/asr1/local/process.py
imports: import contextlib
  import os
  import random
  import sys
  import wave
  from tqdm import tqdm
label_desc: Use image node_id 5 for calling a global function with example usage: prepare_files(dest_folder, audio_folder, transcriptions, fnames, utt_ids) without return types