gojomo/gensim — pull request #2 by piskvorky (2014-06-04 11:01:37+00:00)
Title: Simplify subsampling logic

Store the probability for each vocab word, regardless of the value of `self.sample`.

This makes the subsequent access to `vocab.sample_probability` more uniform and cleaner.