code: def get_id(word_dict, word):
      """
      Return word id.
      """
      return word_dict.get(word, word_dict["<unk>"])
  
imports: import os
  import logging
label_desc: Use image node_id 2 for calling a global function with example usage: get_id(word_dict, word) and returns: word_dict