word2vec index and sampling data structures (cache and space-saving)