}
goldPairs.add(new int[]{goldSpan2id.get(p[0]), goldSpan2id.get(p[1])});
// ppt_arr.add(new int[]{span2id.get(p[0]), span2id.get(p[1])});
}
br.close();
java.util.Collections.sort(goldSpans, new SpanOffsetComparator());
ppt = new ParentPtrTree(goldPairs.toArray(new int[][] {}));
goldEqvCls = new int[ppt.getSize()];
ppt.equivCls(goldEqvCls);
} catch (Exception e) {
e.printStackTrace();