Hi,
Is there any efficient way to merge overlapping annotations of the same type?
for example i have a string "...mercedez benz...", and
two AEs doing rather similar things aggregated into an AAE.
the first AE annotates "mercedez" as, say org.apache.uima.Car,
while the second one can only recognize "benz"
(hence only annotates "benz" with the type org.apache.uima.Car).
Can i merge the two annotations into one, i.e.
modify the CAS such that "mercedez benz"
is annotated as org.apache.uima.Car?
Thank you in advance.
Regards,
Alice
|