On 3. Nov 2020, at 12:10, Raffaella Ventaglio <raffaella.ventag...@celi.it> wrote: > > Hi, unfortunately I can't try your example at the moment, but if > `/JCasUtil.selectCovered/` behavior is similar to > `AnnotationIndex.subiterator` behavior, than having an arbitrary ordering > between your annotation types could impact the definition of "covered by".
uimaFIT's JCasUtil.selectCovered ignores type priorities. It only takes into account the offsets. Similarly, the UIMAv3 SelectFS by default does ignore type priorities (same behavior as uimaFIT), but there is an option to enable type prios (jcas.select(...).typePriority()...). -- Richard