def word_ids_to_words(data, id_to_word):
 return [id_to_word[i] for i in data]

def word_ids_to_words ( data , id_to_word ) : return [ id_to_word [ i ] for i in data ]
given a context in list format and the vocabulary .