[ 
https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507852#comment-15507852
 ] 

Richard Eckart de Castilho commented on UIMA-5115:
--------------------------------------------------

For me, *coveredBy* and *between* (and *at*) are different choices along the 
same paradigmatic axis of "location constraints". Either I say "give me all 
annotations covered by annotation X" or I say "give me all annotations between 
X and Y". If I would say "give me all annotations covered by annotation X *and* 
between X and Y", then I would be providing two "location constraints". Since 
we said that we only should support a single "location constraint", I would 
suggest to now allow combining these two constraints into a single statement.

If I really wanted to express `coveredBy(between(fs1, fs2))`, I would probably 
say `coveredBy(fs1.getEnd(), fs2.getBegin())`.

I didn't understand the "starting at" semantics yet... you mean to express 
something like "following(annoFS)" instead as "startAt(annoFS).shift(1)"?

> uv3 select() api for iterators and streams over CAS contents
> ------------------------------------------------------------
>
>                 Key: UIMA-5115
>                 URL: https://issues.apache.org/jira/browse/UIMA-5115
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDKexp
>
>
> Design and implement a select() API based on uimaFIT's select, integrated 
> well with Java 8 concepts.  Initial discussions in UIMA-1524.  Wiki with 
> diagram: https://cwiki.apache.org/confluence/display/UIMA/UV3+Iterator+support



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to