uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Lally" <ala...@alum.rpi.edu>
Subject Re: Issues with generic bag index
Date Thu, 08 Feb 2007 16:21:50 GMT
On 2/8/07, Thilo Goetz <twgoetz@gmx.de> wrote:
> So here's another proposal, sort of amalgamating what Adam and Eddie
> have said.  We implement a special kind of bag index just for this
> purpose, and kind of bag index that users can not define.  Such a bag
> index is a regular bag index, except that it only indexes FSs of
> *exactly* the index type, not subtypes.  We continue to create such
> indexes lazily, as is currently done.
>
> When it comes time to iterate over all indexed FSs, we do the
> inheritance manually, at iteration time.  That's a little more code than
> is there now, but I don't think it's a big deal.  I would still need to
> investigate how hard it is to implement the special bag index; not too
> hard I should hope, but the index implementation is pretty terrible (I'm
> allowed to say this as I wrote most of it myself).
>

+1.  (To the proposal, not to your assessment of the code quality. :)

-Adam

Mime
View raw message