code: def read_vocab(vocab_file):
      freqs = OrderedDict()
      for line in vocab_file:
          item = line.rstrip()
          if item.endswith(" word"):  # for fastText vocabs
              item = item[:-5]
          try:
              key, freq = item.rsplit(" ", 1)
          except ValueError:
              continue
          freqs[key] = int(freq)
      return freqs
  
file_path: sense2vec/scripts/05_export.py
imports: from collections import OrderedDict, defaultdict
  from sense2vec import Sense2Vec
  from sense2vec.util import split_key, cosine_similarity
  from pathlib import Path
  from wasabi import msg
  import numpy
  import typer
label_desc: Use image node_id 3 for calling a global function with example usage: read_vocab(vocab_file) and returns: freqs