I see the point. I might have misused the word "discrete". I meant it rather in
a sense that the indexes of an annotation are always defined in the space of natural
numbers*. *In my opinion, the fact that an annotation's (X) end, points to another's (Y)
begin, plays in favor of saying that X-is-overlapping-with-Y.
Best,
Viorel
P.S. The more I think about it, the more unsure am I about the correct way of handling it. If we consider the case X: [0-3] Y: [3-3], then subtracting Y from X doesn't change the offsets of X, which means X and Y don't have any degree of overlapping.
**
Am 23.10.2020 um 12:28 schrieb Richard Eckart de Castilho:
Note that the end offset of an annotation points to the first character *after*
the annotated text:
"This is a test"
- 11111
-012345678901234
Annotation [ 0- 4] = "This"
Annotation [10-14] = "test"
So if you consider this in the discrete case, then the "end" is actually not
even part of the discrete interval anymore.
-- Richard