Closed GoogleCodeExporter closed 9 years ago
Interesting. Is there a use case where we would actually want (2)? It seems
pretty unlikely to me that you might have two views with different texts and an
annotation from one will specify a range of text you want to obtain from the
other. I guess it's possible - perhaps the 2nd view might be a lowercased copy
of the 1st or something like that.
To be correct, I think we should either implement (2) or we should update (1)
so that it throws an exception if the jCas passed in is not the same as that of
the focus annotation. This may avoid some debugging pain.
However, my feeling is that this issue can be closed by simply documenting the
method sufficiently to explain what it does. If that turns out to be
insufficient for some actual usecase, then we can change it.
Original comment by phi...@ogren.info
on 30 Apr 2012 at 3:41
The more likely use case for (2) is not that the text is different but that
it's null in one CAS and not in the other. We actually ran into this issue with
the relation extractor project.
Original comment by steven.b...@gmail.com
on 30 Apr 2012 at 8:43
Original comment by steven.b...@gmail.com
on 24 Jul 2012 at 5:34
This issue was closed by revision r3929.
Original comment by steven.b...@gmail.com
on 25 Jul 2012 at 7:07
Original issue reported on code.google.com by
steven.b...@gmail.com
on 28 Mar 2012 at 10:29