procedure would ordinarily be too expensive since there are O(k 2 ) pairs per sentence, where both k and the number of sentences can be in the thousands, so billions of training examples would be produced per iteration.
hopkins and May (2011) use subsampling to consider a small percentage of all pairs per sentence.