List<CoreLabel> sentence = words.get(sent);
Tree tree = trees.get(sent);
List<Mention> mentions = unorderedMentions.get(sent);
Map<String, List<Mention>> mentionsToTrees = Generics.newHashMap();
if(doMergeLabels) mergeLabels(tree, sentence);
<BUG>for(Mention mention: mentions){
</BUG>
mention.contextParseTree = tree;
mention.sentenceWords = sentence;
mention.originalSpan = new ArrayList<CoreLabel>(mention.sentenceWords.subList(mention.startIndex, mention.endIndex));

List<CoreLabel> sentence = words.get(sent);
Tree tree = trees.get(sent);
List<Mention> mentions = unorderedMentions.get(sent);
Map<String, List<Mention>> mentionsToTrees = Generics.newHashMap();
if(doMergeLabels) mergeLabels(tree, sentence);
for (Mention mention: mentions) {
mention.contextParseTree = tree;
mention.sentenceWords = sentence;
mention.originalSpan = new ArrayList<CoreLabel>(mention.sentenceWords.subList(mention.startIndex, mention.endIndex));
