mention.sentenceWords = sentence;
mention.originalSpan = new ArrayList<CoreLabel>(mention.sentenceWords.subList(mention.startIndex, mention.endIndex));
if(!((CoreLabel)tree.label()).has(CoreAnnotations.BeginIndexAnnotation.class)) tree.indexSpans(0);
if(mention.headWord==null) {
Tree headTree = ((RuleBasedCorefMentionFinder) mentionFinder).findSyntacticHead(mention, tree, sentence);
mention.headWord = (CoreLabel)headTree.label();
mention.headIndex = mention.headWord.get(CoreAnnotations.IndexAnnotation.class) - 1;
}
if(mention.mentionSubTree==null) {
// mentionSubTree = highest NP that has the same head
Tree headTree = tree.getLeaves().get(mention.headIndex);