[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-10-20 Thread JIRA
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15591065#comment-15591065 ] Peter Klügl commented on UIMA-5115: --- Sorry, I haven't found the time lately to follow your specs and

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-10-19 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15589120#comment-15589120 ] Marshall Schor commented on UIMA-5115: -- Peter, do you have an opinion about the defaulting of

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-10-19 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588684#comment-15588684 ] Richard Eckart de Castilho commented on UIMA-5115: -- Fine by me. In NLP contexts, it will

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-10-19 Thread JIRA
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588632#comment-15588632 ] Peter Klügl commented on UIMA-5115: --- change default for AnnotationIndex processing to non-overlapped

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-10-17 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15582461#comment-15582461 ] Marshall Schor commented on UIMA-5115: -- Richard made many useful comments to the first cut of the

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-10-05 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15548761#comment-15548761 ] Richard Eckart de Castilho commented on UIMA-5115: -- In uimaFIT, we have been using the

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-10-03 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15543128#comment-15543128 ] Marshall Schor commented on UIMA-5115: -- Re: generic typing. The select(...) variants are in Cas, JCas,

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-29 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1554#comment-1554 ] Marshall Schor commented on UIMA-5115: -- for now, I'll keep the offset, but add a limit( n ) to the set

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-29 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15533213#comment-15533213 ] Marshall Schor commented on UIMA-5115: -- even though limit(n) is a stream thing, we don't need to

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-29 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15533199#comment-15533199 ] Richard Eckart de Castilho commented on UIMA-5115: -- limit() is a Stream API method and

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-29 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15533169#comment-15533169 ] Marshall Schor commented on UIMA-5115: -- uimaFIT has a param for following/preceding that limits the

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-29 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15532099#comment-15532099 ] Richard Eckart de Castilho commented on UIMA-5115: -- For the moment, I would suggest that

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-28 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15530858#comment-15530858 ] Marshall Schor commented on UIMA-5115: -- Bounding style + Following/preceding? This is something that

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-27 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15526481#comment-15526481 ] Richard Eckart de Castilho commented on UIMA-5115: -- I also believe that this type of

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-27 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15526462#comment-15526462 ] Richard Eckart de Castilho commented on UIMA-5115: -- Ok, that looks interesting... have to

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-27 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15526398#comment-15526398 ] Marshall Schor commented on UIMA-5115: -- This bit of uglyness is due to the fact that type inference

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-25 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15520459#comment-15520459 ] Richard Eckart de Castilho commented on UIMA-5115: -- Looking into this in more detail, I

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-25 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15520448#comment-15520448 ] Richard Eckart de Castilho commented on UIMA-5115: -- Ok, so here is my argument... If we

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-22 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15513597#comment-15513597 ] Richard Eckart de Castilho commented on UIMA-5115: -- I think it is not an unusual case to

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-22 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15513511#comment-15513511 ] Marshall Schor commented on UIMA-5115: -- For the prototype, I'm doing all variants. Default is the

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-22 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15513455#comment-15513455 ] Marshall Schor commented on UIMA-5115: -- Details of positioning and bounds, with and without

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15511218#comment-15511218 ] Marshall Schor commented on UIMA-5115: -- I discovered the existing impl and docs for "subiterator" also

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15511141#comment-15511141 ] Marshall Schor commented on UIMA-5115: -- right, between should only have args fs1, fs2. > uv3 select()

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15510558#comment-15510558 ] Richard Eckart de Castilho commented on UIMA-5115: -- The offsets of two FSes are the same

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15510537#comment-15510537 ] Marshall Schor commented on UIMA-5115: -- What's your definition of "offset"? If 2 FSs share the same

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15510397#comment-15510397 ] Richard Eckart de Castilho commented on UIMA-5115: -- I didn't realize that you consider

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15510392#comment-15510392 ] Richard Eckart de Castilho commented on UIMA-5115: -- Hum, no... I think "between" should

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15510361#comment-15510361 ] Richard Eckart de Castilho commented on UIMA-5115: -- Sounds all ok. Just I do not think

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15510383#comment-15510383 ] Richard Eckart de Castilho commented on UIMA-5115: -- Right... following() is indeed quite a

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15510367#comment-15510367 ] Richard Eckart de Castilho commented on UIMA-5115: -- I'm thinking of offsets when thinking

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15510331#comment-15510331 ] Marshall Schor commented on UIMA-5115: -- updated and committed new version of SelectFSs, based on above

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15510161#comment-15510161 ] Marshall Schor commented on UIMA-5115: -- Re: meaning of at(...) Would you prefer at(...) be be

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509972#comment-15509972 ] Marshall Schor commented on UIMA-5115: -- There's an ambiguity here, because annoFS might be or might

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509960#comment-15509960 ] Marshall Schor commented on UIMA-5115: -- If you prefer, I'm happy to switch "between" from being

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509947#comment-15509947 ] Marshall Schor commented on UIMA-5115: -- I thought that between meant 2 things: 1) a span, starting at

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-21 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509937#comment-15509937 ] Marshall Schor commented on UIMA-5115: -- in v3, I think of implementing offsets (begin/end) via making

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507915#comment-15507915 ] Richard Eckart de Castilho commented on UIMA-5115: -- And "between" would be short for

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507905#comment-15507905 ] Richard Eckart de Castilho commented on UIMA-5115: -- Ok, np. Should I be able to come up

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507891#comment-15507891 ] Richard Eckart de Castilho commented on UIMA-5115: -- "between(fs1, fs2)" for me is a

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507883#comment-15507883 ] Marshall Schor commented on UIMA-5115: -- I agree 1 is not desirable. At the very least, the fact that

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507873#comment-15507873 ] Marshall Schor commented on UIMA-5115: -- I think the general case is startAt(annotFS).shift(n). For

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507866#comment-15507866 ] Marshall Schor commented on UIMA-5115: -- Here's the case that may be missed: can between be used to

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507867#comment-15507867 ] Richard Eckart de Castilho commented on UIMA-5115: -- I imagine this scenario: * I have a

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507852#comment-15507852 ] Richard Eckart de Castilho commented on UIMA-5115: -- For me, *coveredBy* and *between* (and

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507836#comment-15507836 ] Marshall Schor commented on UIMA-5115: -- In UV3, the built-in types are always present, so we always

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507824#comment-15507824 ] Marshall Schor commented on UIMA-5115: -- I agree it's nice to have * coveredBy(sentence) *

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507803#comment-15507803 ] Richard Eckart de Castilho commented on UIMA-5115: -- I assume even in UV3 there can be the

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507798#comment-15507798 ] Richard Eckart de Castilho commented on UIMA-5115: -- I agree keeping the "cardinality

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507797#comment-15507797 ] Marshall Schor commented on UIMA-5115: -- we could. Does it occur enough to warrant this? e.g., if you

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507788#comment-15507788 ] Marshall Schor commented on UIMA-5115: -- Doing the implementation based on these "primitives" is good

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507769#comment-15507769 ] Richard Eckart de Castilho commented on UIMA-5115: -- My point was: can we have a signature

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507764#comment-15507764 ] Marshall Schor commented on UIMA-5115: -- Re: type is inferred from the variable to which the result is

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507753#comment-15507753 ] Richard Eckart de Castilho commented on UIMA-5115: -- I see how at first breaking up the API

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507739#comment-15507739 ] Marshall Schor commented on UIMA-5115: -- I think I may have caused this confusion by leaving off the

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507569#comment-15507569 ] Richard Eckart de Castilho commented on UIMA-5115: -- Well, Java needs to get the type

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507550#comment-15507550 ] Marshall Schor commented on UIMA-5115: -- I agree that it's a bad design if there's lots of casting from

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507534#comment-15507534 ] Richard Eckart de Castilho commented on UIMA-5115: -- Uhm... are you also contemplating

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507521#comment-15507521 ] Richard Eckart de Castilho commented on UIMA-5115: -- Extends FeatureStructure is fine as

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507519#comment-15507519 ] Richard Eckart de Castilho commented on UIMA-5115: -- I think `at(location).single()` is

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507508#comment-15507508 ] Marshall Schor commented on UIMA-5115: -- Yes. I waffle back and forth on NEW_TYPE extends TOP and

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507500#comment-15507500 ] Marshall Schor commented on UIMA-5115: -- you are correct. I've changed these to require "Annotation".

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507493#comment-15507493 ] Marshall Schor commented on UIMA-5115: -- I agree about readability. What I was proposing was 1) this

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507180#comment-15507180 ] Richard Eckart de Castilho commented on UIMA-5115: -- So what you are suggesting is e.g.

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506947#comment-15506947 ] Richard Eckart de Castilho commented on UIMA-5115: -- An alternative could be to distinct

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506945#comment-15506945 ] Richard Eckart de Castilho commented on UIMA-5115: -- It might be worth introducing

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506927#comment-15506927 ] Richard Eckart de Castilho commented on UIMA-5115: -- I assume we still have TOP in UV3?

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506921#comment-15506921 ] Richard Eckart de Castilho commented on UIMA-5115: -- I think methods that require offsets

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506790#comment-15506790 ] Marshall Schor commented on UIMA-5115: -- I checked in a possible initial interface for result of

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506742#comment-15506742 ] Marshall Schor commented on UIMA-5115: -- I noticed a maybe cleaner refactoring: * at(FS), at(begin,

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506574#comment-15506574 ] Richard Eckart de Castilho commented on UIMA-5115: -- > I think the answer is you return

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506568#comment-15506568 ] Richard Eckart de Castilho commented on UIMA-5115: -- If get() would return an Optional,

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506567#comment-15506567 ] Marshall Schor commented on UIMA-5115: -- I was thinking of selectCovered. The question I was posing

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506523#comment-15506523 ] Marshall Schor commented on UIMA-5115: -- I didn't follow the example get().get(). I think the first

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506016#comment-15506016 ] Richard Eckart de Castilho commented on UIMA-5115: -- I assume you mean selectCovering

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-20 Thread Richard Eckart de Castilho (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506000#comment-15506000 ] Richard Eckart de Castilho commented on UIMA-5115: -- Possibly consider use of Java Optional

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-19 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15504781#comment-15504781 ] Marshall Schor commented on UIMA-5115: -- Does uimaFIT iteration for coveredBy(fs1) filter the result by

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-19 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15504694#comment-15504694 ] Marshall Schor commented on UIMA-5115: -- related feature requests to consider > uv3 select() api for

[jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents

2016-09-19 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15504684#comment-15504684 ] Marshall Schor commented on UIMA-5115: -- wish lists to consider > uv3 select() api for iterators and