word2token conversion