uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Override annotation
Date Fri, 05 Dec 2008 18:28:41 GMT
Can we assume the two AEs are components you do not want to (or can't)
modify?  Because if you could modify AE2, it could check to see if VAL1
was already annotated, and if so, skip doing the annotation.

You could write an annotator that would run after AE1 and AE2, and scan
the Annotations in the CAS, looking for instances where VAL1 was
annotated twice, and remove the duplicate - would that address your concern?


Ashutosh Sharma wrote:
> Hi All,
> I would like to override the annotation done by the previous analysis engine based on
start offset values in current Analysis Engine.
> Suppose, there are two AEs - AE1 and AE2. AE1 has annotated VAL1. When the AE2 run, it
again annotate the VAL1. So, I need to override the annotation made by the AE1 when AE2 annotate
the same VAL1.
> Is there any feature or options by which we can do above.
> Thanks & Regards,
> Ashu
> _________________________________________________________________
> Register once and play all contests. Increase your scores with bonus credits for logging
in daily on MSN.
> http://specials.msn.co.in/msncontest/index.aspx

View raw message