code: def load_vocab_and_emoji(vocab_file, emoji_file):
      """Loads a vocabulary file and emoji file into a dictionary."""
      with open(emoji_file, "r", encoding="utf-8") as f:
          emoji = json.loads(f.read())
  
      vocab = collections.OrderedDict()
      raw_vocab = collections.OrderedDict()
      ids_to_tokens = collections.OrderedDict()
      with open(vocab_file, "r", encoding="utf-8") as f:
          token = f.readlines()
      token = [
          [t.rstrip("\n")]
          if (t == ",\n" or "," not in t)
          else t.rstrip("\n").split(",")
          for t in token
      ]
      for idx, b in enumerate(token):
          ids_to_tokens[idx] = b
          raw_vocab[",".join(b)] = idx
          for wd in b:
              vocab[wd] = idx
  
      return vocab, raw_vocab, ids_to_tokens, emoji
  
imports: import collections
  import json
  import os
  import re
  from typing import List, Optional, Tuple, Union
  import numpy
  from ...tokenization_utils import PreTrainedTokenizer
  from ...tokenization_utils_base import BatchEncoding, PreTokenizedInput, PreTokenizedInputPair, TextInput, TextInputPair, TruncationStrategy
  from ...utils import PaddingStrategy, logging
label_desc: Use image node_id 1 for calling a global function with example usage: load_vocab_and_emoji(vocab_file, emoji_file) and returns: vocab,  raw_vocab,  ids_to_tokens,  emoji