setup random sampling of vocab items using unigram prob for approx partition function