It's been the only way I've gotten a Dictionary object from a basic
Python dict built from a corpus.
i.e.,
j
id2word = gensim.corpora.Dictionary()
_ = id2word.merge_with(some_corpus.id2word)
Makes me question: why do all of the corpora build a Python dict and not
a Gensim Dictionary? Useful for using doc2bow!
Chris.
Excerpts from Radim Řehůřek's message of 2014-04-28 12:26:48 -0500: