sentence1: we trained a 4-gram language model with kneser-ney smoothing and unigram caching using the sri-lm toolkit .
sentence2: we used the srilm toolkit to train a 4-gram language model on the xinhua portion of the gigaword corpus , which contains 238m english words .