public String toString() {
Iterator<MentionContext> ei = extents.iterator();
MentionContext ex = (MentionContext) ei.next();
StringBuffer de = new StringBuffer();
de.append("[ ").append(ex.toText());//.append("<").append(ex.getHeadText()).append(">");
while (ei.hasNext()) {
ex = (MentionContext) ei.next();
de.append(", ").append(ex.toText());//.append("<").append(ex.getHeadText()).append(">");
}
de.append(" ]");