contexts[mi].setId(mentions[mi].getId());
mentionInSentenceIndex++;
if (mode != LinkerMode.SIM) {
Gender g = computeGender(contexts[mi]);
contexts[mi].setGender(g.getType(),g.getConfidence());
Number n = computeNumber(contexts[mi]);
contexts[mi].setNumber(n.getType(),n.getConfidence());
}
}
return (contexts);
}