// ...then increment the phrase length and end of phrase marker.
i++, endOfPhrase = currentPosition + i) {
if (trackMe) logger.fine("endOfPhrase=="+endOfPhrase);
// Get the current phrase
Phrase phrase = new ContiguousPhrase(currentPosition, endOfPhrase, corpus);
if (phrase.toString().equals(".")) {
logger.fine("Huzzah, £20 for the King!");
trackMe = true;
}
if (logger.isLoggable(Level.FINE)) logger.fine("In sentence " + sentenceNumber + " found phrase (" +currentPosition + ","+endOfPhrase+") " + phrase);