for (opennlp.tools.coref.mention.Parse corefParse : sample.getParses()) {
Parse p = ((DefaultParse) corefParse).getParse();
Mention extents[] = mentionFinder.getMentions(corefParse);
for (int ei = 0, en = extents.length; ei < en;ei++) {
if (extents[ei].getParse() == null) {