(self, sentences)
return [self.vocab.sent2id(sentence) for sentence in sentences]
word => word id
word => word id
word = > word id
def sent2id(self, sentences):
        """word => word id"""
        # [max_conversation_length, max_sentence_length]
        return [self.vocab.sent2id(sentence) for sentence in sentences]
def sent2id ( self , sentences ) : # [max_conversation_length, max_sentence_length] return [ self . vocab . sent2id ( sentence ) for sentence in sentences ]