unigrams and pairs done