unigram sampling in NCE and cleaned conv.cc