In AnnotationIndex class says that "Annotations are sorted in increasing order of their start offset". However when I use subIterator method of AnnotationIndex to get an iterator of annotations (token) inside an annotation (sentence), the returned annotations' order is strange. See below token_string(begin,end,part_of_speech):
He(0/2/PRP) . (13,14,.) running(6,13,VBG) is (3,5,VBZ) Can such strange orders happen in the AnnotationIndex? or just my program bugs? I tried to find the reason why but I still couldn't. I find AnnotationIndex a bit inconvenient for programmers. Do you have any effective strategy to deal with annotations in the annotation pool?
