You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Christian Mauceri <ma...@hermeneute.com> on 2007/03/22 20:15:31 UTC
Annotation Iterator order
Hi,
I have noticed a nice behaviour of the annotation iterator order:
* it seems they are ranked by increasing order of their begin
position (and for the same begin position follow the increasing
order of the length of the span)
Is this part of the specs? If it is not it would be nice it be as it
facilitates for instance test of inclusions of recognized forms in
larger contexts by appropriate use of subclass of annotation tests (eg
to do some kind of shallow parsing).
--
Cordialement/Regards
Christian Mauceri
http://hermeneute.com/Christian
Re: Annotation Iterator order
Posted by Christian Mauceri <ma...@hermeneute.com>.
Hi Adam,
thanks for the reply to the lazy guy I am.
Adam Lally wrote:
> Hi Christian,
>
> Yes, this is documented in the CAS Reference chapter (and perhaps
> elsewhere too). In the v2.1 documentation it is in Section 4.7.1 of
> the References manual.
>
> -Adam
>
> On 3/22/07, Christian Mauceri <ma...@hermeneute.com> wrote:
>> Hi,
>>
>> I have noticed a nice behaviour of the annotation iterator order:
>>
>> * it seems they are ranked by increasing order of their begin
>> position (and for the same begin position follow the increasing
>> order of the length of the span)
>>
>> Is this part of the specs? If it is not it would be nice it be as it
>> facilitates for instance test of inclusions of recognized forms in
>> larger contexts by appropriate use of subclass of annotation tests (eg
>> to do some kind of shallow parsing).
>>
>> --
>> Cordialement/Regards
>> Christian Mauceri
>> http://hermeneute.com/Christian
>>
>>
>
--
Cordialement/Regards
Christian Mauceri
http://hermeneute.com/Christian
Re: Annotation Iterator order
Posted by Adam Lally <al...@alum.rpi.edu>.
Hi Christian,
Yes, this is documented in the CAS Reference chapter (and perhaps
elsewhere too). In the v2.1 documentation it is in Section 4.7.1 of
the References manual.
-Adam
On 3/22/07, Christian Mauceri <ma...@hermeneute.com> wrote:
> Hi,
>
> I have noticed a nice behaviour of the annotation iterator order:
>
> * it seems they are ranked by increasing order of their begin
> position (and for the same begin position follow the increasing
> order of the length of the span)
>
> Is this part of the specs? If it is not it would be nice it be as it
> facilitates for instance test of inclusions of recognized forms in
> larger contexts by appropriate use of subclass of annotation tests (eg
> to do some kind of shallow parsing).
>
> --
> Cordialement/Regards
> Christian Mauceri
> http://hermeneute.com/Christian
>
>