Open reckart opened 4 years ago
Is your feature request related to a problem? Please describe. I think it would be great if the CAS API in cassis would also offer predicates such as "contains" or "overlaps" to check the positional relation between two annotations to each other.
Describe the solution you'd like A solution similar to https://github.com/apache/uima-uimaj/pull/62 which provides these predicates on two places:
sentence.contains(token)
contains(sentence, token)
contains(begin1, end1, begin2, end2), contains(annotation1, begin2, end2), contains(annotation1, annotation2)
Is your feature request related to a problem? Please describe. I think it would be great if the CAS API in cassis would also offer predicates such as "contains" or "overlaps" to check the positional relation between two annotations to each other.
Describe the solution you'd like A solution similar to https://github.com/apache/uima-uimaj/pull/62 which provides these predicates on two places:
sentence.contains(token)
contains(sentence, token)
contains(begin1, end1, begin2, end2), contains(annotation1, begin2, end2), contains(annotation1, annotation2)