code: def load_vocab_dict(vocab_file_path):
      """Load vocabs, vocab: {"word": 1, ...}"""
      logging.info("Loading vocab from {}".format(vocab_file_path))
      with open(vocab_file_path, encoding="utf-8") as in_f:
          vocabs = {}
          for line in in_f:
              parts = line.rstrip().split("\t")
              if len(parts) < 2:
                  continue
              vocabs[parts[0]] = parts[1]
      logging.info(
          "Loded {} vocabs from {}".format(len(vocabs), vocab_file_path)
      )
      return vocabs
  
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 4 for calling a global function with example usage: load_vocab_dict(vocab_file_path) and returns: vocabs