gensim.utils.ClippedCorpus

class gensim.utils.ClippedCorpus(corpus, max_docs=None)[source]

Methods

__init__(corpus[, max_docs]) Return a corpus that is the “head” of input iterable corpus.
load(fname[, mmap]) Load a previously saved object from file (also see save).
save(fname_or_handle[, separately, ...]) Save the object to file (also see load).