I am new to the GATE
here, I am using java for the integration. Now, I have some rules on that basis I got some annotations.
I am trying to get the particular type of annotations within that range. So, I've written below code,
public AnnotationSet get(String neededType, Long startOffset, Long endOffset)
I have following annotation offset,
annotations are -- `fullName` `52 to 66`
The second annotation is `split`, `66 to 67`
In this, I am trying to use it in this way,
get("Split", 52, 66)
I was assuming that this will return me a set which will have the annotation split
as it is between the 52 to 66
but it is returning the empty array.
Any help is appreciated!