sentence1: bilmes and kirchhoff generalize lattice-based language models further by allowing arbitrary factors in addition to words and classes .
sentence2: this is effectively what bilmes and kirchhoff did in generalizing n-gram language models to factored language models .