def Ids2Words(ids_list, vocab):
 assert isinstance(ids_list, list), ('%s  is not a list' % ids_list)
 return [vocab.IdToWord(i) for i in ids_list]

def Ids2Words ( ids_list , vocab ) : assert isinstance ( ids_list , list ) , ( '%s  is not a list' % ids_list ) return [ vocab . IdToWord ( i ) for i in ids_list ]
get words from ids .