code: def save_a_vocab_file(vocab_file, vocab_list):
      """Save a Vocab file for test."""
      with open(vocab_file, "w", encoding="utf-8") as out_f:
          for vocab in vocab_list:
              out_f.write(vocab)
              out_f.write("\n")
      return vocab_file
  
file_path: delta/delta/data/utils/test_utils.py
imports: import json
  import tempfile
  from pathlib import Path
  import kaldiio
  import numpy
  from delta.data.utils.common_utils import JsonNumpyEncoder
label_desc: Use image node_id 3 for calling a global function with example usage: save_a_vocab_file(vocab_file, vocab_list) and returns: vocab_file