Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add positional predicates #141

Open
reckart opened this issue Oct 11, 2020 · 0 comments
Open

Add positional predicates #141

reckart opened this issue Oct 11, 2020 · 0 comments

Comments

@reckart
Copy link
Member

reckart commented Oct 11, 2020

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 apache/uima-uimaj#62 which provides these predicates on two places:

  • on annotation types, e.g. to do something like sentence.contains(token)
  • as separate utility methods, e.g. to do something like contains(sentence, token)
  • with different signature, e.g. contains(begin1, end1, begin2, end2), contains(annotation1, begin2, end2), contains(annotation1, annotation2)
@jcklie jcklie added this to the 0.5.0 milestone Oct 11, 2020
@jcklie jcklie modified the milestones: 0.5.0, 0.6.0 Nov 29, 2020
@reckart reckart modified the milestones: 0.6.0, 0.7.0 Sep 27, 2021
@reckart reckart modified the milestones: 0.7.0, Backlog Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants