Corpus corpus = suffixes.getCorpus();
int endOfCorpus = corpus.size();
// Start at the beginning of the corpus...
for (int currentPosition : corpus.corpusPositions()) {
// Start with a phrase length of 1, at the current position...
for (int i = 1, endOfPhrase = currentPosition + i;
// ...ensure the phrase length isn't too long...
i <= maxPhraseLength &&