int[][] alignedTargetIndices = new int[sourceCorpus.size()][];
// set the values of the arrays based on the alignments file...
int sentenceCounter = 0;
LineReader lineReader = new LineReader(alignmentsFilename);
for (String line : lineReader) {
// Start index of current source sentence
int sourceOffset = sourceCorpus.getSentencePosition(sentenceCounter);