302303304305306307308
/** * @see org.apache.uima.collection.base_cpm.BaseCollectionReader#getProgress() */ public Progress[] getProgress() { return new Progress[] { new ProgressImpl(mCurrentIndex, mWorkList.size(), Progress.ENTITIES) }; }
224225226227228229230
60616263646566
this.completed = 0; } @Override public Progress[] getProgress() { return new Progress[] { new ProgressImpl(this.completed, this.files.size(), Progress.ENTITIES) }; }
112113114115116117118
/** * @see org.apache.uima.collection.base_cpm.BaseCollectionReader#getProgress() */ public Progress[] getProgress() { return new Progress[] { new ProgressImpl(mCurrentIndex, mFiles.size(), Progress.ENTITIES) }; }
6667686970717273
jCas.setDocumentText(lines[lineIndex]); lineIndex++; } public Progress[] getProgress() { Progress progress = new ProgressImpl(lineIndex, lines.length, Progress.ENTITIES); return new Progress[] { progress }; }
113114115116117118119120
268269270271272273274275
}); } @Override public Progress[] getProgress() { return new Progress[] { new ProgressImpl(i, listDocumentIds.size(), Progress.ENTITIES) }; }
421422423424425426427428429
* * @see org.apache.uima.collection.base_cpm.BaseCollectionReader#getProgress() */ public Progress[] getProgress() { Progress p = new ProgressImpl(currRowCount, totalRowCount, Progress.ENTITIES); return new Progress[] { p }; }
65666768697071