gensim.corpora.ShardedCorpus.save_shard

ShardedCorpus.save_shard(shard, n=None, filename=None)[source]

Pickle the given shard. If n is not given, will consider the shard a new one.

If filename is given, will use that file name instead of generating one.