code: def prepare_vocab(
      vocab_file_path, text, min_frequency=1, use_default_dict=True
  ):
      """Prepare vocab"""
      text_vocab = Vocabulary(use_default_dict=use_default_dict)
      process_vocab(
          vocab_file_path, text, text_vocab, min_frequency=min_frequency
      )
  
file_path: delta/delta/data/preprocess/utils.py
imports: import os
  import pickle
  import collections
  import numpy
  from absl import logging
  import delta.compat
  from delta.data.utils.vocabulary import Vocabulary
label_desc: Use image node_id 6 for calling a global function with example usage: prepare_vocab(vocab_file_path, text, min_frequency, use_default_dict) without return types