AndreasMadsen/gensim — pull request #1 by piskvorky (2014-07-01 09:07:18+00:00)
Title: from_corpus reformat

The `max_id` logic wouldn't work well when a direct mapping is supplied (some ids from the mapping may be missing, if they are not in the corpus).

This patch copies the id=>word mapping directly. I also simplified the logic a bit and added comments. Let me know if this works for you @AndreasMadsen .