String lastWord = m.originalSpan.get(m.originalSpan.size()-1).get(CoreAnnotations.TextAnnotation.class);
if((lastWord.equals("'s") || lastWord.equals("'"))
&& m.originalSpan.size() != 1 ) endIdx--;
Tree exactMatch = findTreeWithSpan(root, m.startIndex, endIdx);
if (exactMatch != null) {
<BUG>return safeHead(exactMatch);
</BUG>
}
int approximateness = 0;
List<CoreLabel> extentTokens = new ArrayList<CoreLabel>();

String lastWord = m.originalSpan.get(m.originalSpan.size()-1).get(CoreAnnotations.TextAnnotation.class);
if((lastWord.equals("'s") || lastWord.equals("'"))
&& m.originalSpan.size() != 1 ) endIdx--;
Tree exactMatch = findTreeWithSpan(root, m.startIndex, endIdx);
if (exactMatch != null) {
return safeHead(exactMatch, endIdx);
}
int approximateness = 0;
List<CoreLabel> extentTokens = new ArrayList<CoreLabel>();
