Do all of your analysis engines use the same type system? If you have one analysis engine that is producing Annotations of type myAnnotationType1 and another is producing annotations of type myAnnotationType2 and you only want your analysis engine to work on myAnnotationType2 annotations but you don't want to have to hard code myAnnotationType2 into your annotator because you might change your mind later, then you could do this by using the capabilities and simply add myAnnotationType2 as an input capability and leave out myAnnotationType1. Then you just have your code run through whatever the appropriate super type is and it should only get the right ones.
-----Original Message----- From: Siguenza [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 8:43 AM To: [email protected] Subject: Re: AE running on the latest annotation found Thilo Goetz wrote: > Some people will mark each annotation with an > ID specific to the annotator that created it. > For example, you could add a feature to your > annotations called "createdBy". Then you could > filter on that. > > If you don't have control over the annotation > process, I'm not sure there's a solution to your > problem. UIMA does not by itself record which > annotation was created when or by whom. > > --Thilo > > Siguenza wrote: > >> Hello UIMA users, >> >> I want to build an AE that deals with data (ie annotations) from >> previous AEs. >> The trouble is that I want this AE to work on the annotation done by >> the very last AE before it... This will able us to move the AE within >> a CPE, depending on which annotation we want it works on. >> I was thinking about indexes (the last annotation recorded...???...), >> views, Flow Controllers... >> Perhaps you can give me a track ... >> Thank you for your help. >> >> Sophie > > > Thank you for your answer Thilo, I will try in this direction and I will also try to use AE's Parameters. Perhaps I will be able to create a link between two AEs by this way...
