HI Mario, > On 2. Nov 2020, at 22:16, Mario Juric <mario.ju...@cactusglobal.com> wrote: > > In this case all annotations that have the exact same bounds as annotation > are not selected, only those that are completely enclosed get selected (begin > > annotation.getBegin() and end < annotation.getEnd()). The JCasUtil includes > the missing annotations.
I have been looking into the SelectFS framework in the past weeks and fixed a number of issues - also one or two fixed are going into uimaFIT for specific edge cases. Maybe you could try running you test against the current master branches of uima-uimaj and uima-uimafit to check if the issue still persists? You might also care to check out the dev-list discussion on annotation relationships which accompanied the fixes: https://lists.apache.org/thread.html/rff2b9882af077907ff1ad08e90f80a62a20efbfab587a08a5e2bc78c%40%3Cdev.uima.apache.org%3E Cheers, -- Richard