Wrote tool for getting precision, recall and F1 metrics.