Batch-adaptive rejection threshold estimation with application to OCR post-processing. Issue 21 (30th November 2015)