gensim.matutils.MmWriter.write_corpus

static MmWriter.write_corpus(fname, corpus, progress_cnt=1000, index=False, num_terms=None, metadata=False)[source]

Save the vector space representation of an entire corpus to disk.

Note that the documents are processed one at a time, so the whole corpus is allowed to be larger than the available RAM.