// convert entity mentions
for (AceEntityMention aceEntityMention : entityMentions) {
String corefID="";
for(String entityID : aceDocument.getKeySetEntities()){
AceEntity e = aceDocument.getEntity(entityID);
if(e.getMentions().contains(aceEntityMention)){
corefID = entityID;
break;
}
}
EntityMention convertedMention = convertAceEntityMention(aceEntityMention, docId, sentence, tokenOffset, corefID);