sentence1: in language modeling , perplexity is frequently used as a quality measure for language models built with n-grams extracted from text corpora .
sentence2: perplexity is frequently used as a quality measure for language models built with n-grams extracted from text corpora .