code: def edit_word(word, pred, edit_id):
      """
      Edit a word, given edit and seq2seq predictions.
      """
      if edit_id == 1:
          return word
      elif edit_id == 2:
          return word.lower()
      elif edit_id == 0:
          return pred
      else:
          raise Exception("Unrecognized edit ID: {}".format(edit_id))
  
label_desc: Use image node_id 2 for calling a global function with example usage: edit_word(word, pred, edit_id) and returns: word, word, pred