use the annotation for getting the segmentation span