I am trying to merge two annotations in a document and that works fine but I want to select only the annotations which are common to both of them e.g. one annotation highlights a sentence "I am testing my grammar" and the second annotation highlights "testing my grammar". The second annotation also highlights "testing my grammar" at some other place but I dont want to pick that since its not highlighted by the first annotation.
I would like to figure out a way of picking up just the common part. I am using GATE 7.1 and have used normal PRs along with one Annotation Merging PR. Is there some way by which I can create a feature which somehow shows that both annotations have been used?
Thanks