code: int getNextSentencePosition(int numberOfParagraph, int startOfSentencePosition) {
      for (CacheEntry anEntry : entries) {
        if (anEntry.numberOfParagraph == numberOfParagraph && anEntry.startOfSentencePosition == startOfSentencePosition) {
          return anEntry.nextSentencePosition;
        }
      }
      return -1;
    }
docs: get Proofreading errors from cache