lastConsumedToken = current.get(endIndex);
//NOTE: ignore phrases with a single token
if(endIndex > 0){
Chunk chunk = chunkFactory.createChunk(current.get(0), lastConsumedToken);
//TODO: add support for confidence
chunk.addAnnotation(PHRASE_ANNOTATION, Value.value(phraseTag));
if(log.isTraceEnabled()){
log.trace(" << add {} phrase {} '{}'", new Object[]{
phraseType.getPhraseType().name(), chunk,chunk.getSpan()});
}
} else if(log.isTraceEnabled()){