def docs2vecs(self, docs):
bows = (self.dictionary.doc2bow(doc['<STR_LIT>']) for doc in docs)<EOL>if self.method == '<STR_LIT>':<EOL><INDENT>return self.lsi[self.tfidf[bows]]<EOL><DEDENT>elif self.method == '<STR_LIT>':<EOL><INDENT>return self.lda[bows]<EOL><DEDENT>elif self.method == '<STR_LIT>':<EOL><INDENT>return self.lda[self.tfidf[bows]]<EOL><DEDENT>elif self.method == '<STR_LIT>':<EOL><INDENT>return self.logent[bows]<EOL><DEDENT>
Convert multiple SimilarityDocuments to vectors (batch version of doc2vec).