piskvorky/gensim — pull request #216 by AndreasMadsen (2014-06-30 16:09:08+00:00)
Title: Added ability to specify token map in Dictionary.from_corpus

In cases where the BOW matrix is given along with an id -> token map,
this feature allow for a perfect reconstruction of the dictionary
object using the `from_corpus` method.