}
c.set(CoreAnnotations.TokenEndAnnotation.class, i+startTokenOffset);
}
//merge numbers
final Integer startTokenOffsetFinal = startTokenOffset;
List<CoreMap> mergedNumbers = numberAggregator.merge(annotation.get(CoreAnnotations.TokensAnnotation.class), numbers,
in -> Interval.toInterval(
in.get(CoreAnnotations.TokenBeginAnnotation.class) - startTokenOffsetFinal,
in.get(CoreAnnotations.TokenEndAnnotation.class) - startTokenOffsetFinal)
);
//restore token offsets