negative sampling and subsampling for frequent words