Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28C90C43A for ; Sun, 10 Jun 2012 18:33:30 +0000 (UTC) Received: (qmail 27640 invoked by uid 500); 10 Jun 2012 18:33:30 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 27553 invoked by uid 500); 10 Jun 2012 18:33:29 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 27545 invoked by uid 99); 10 Jun 2012 18:33:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jun 2012 18:33:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of CHRIS.ROEDER@ucdenver.edu designates 140.226.189.22 as permitted sender) Received: from [140.226.189.22] (HELO ironman.ucdenver.edu) (140.226.189.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jun 2012 18:33:22 +0000 X-IronPort-AV: E=Sophos;i="4.75,746,1330930800"; d="scan'208";a="230286786" Received: from unknown (HELO exhub3.ucdenver.pvt) ([172.25.0.6]) by mail-ex-out1.ucdenver.pvt with ESMTP; 10 Jun 2012 12:13:28 -0600 Received: from ESTES.ucdenver.pvt ([140.226.231.12]) by exhub3.ucdenver.pvt ([10.10.10.30]) with mapi; Sun, 10 Jun 2012 12:32:42 -0600 From: "Roeder, Chris" To: "user@uima.apache.org" Date: Sun, 10 Jun 2012 12:32:16 -0600 Subject: RE: AW: Calling an annotator from another annotator Thread-Topic: AW: Calling an annotator from another annotator Thread-Index: Ac1FQ+Kd9TEGkoP8TIqqTVe0UEgbLf//63UA///NDLCAAEx5AIAD4fgr Message-ID: <7D546519E38F5D49ABAA8D75B4195282010AB5F1E558@ESTES.ucdenver.pvt> References: ,<1C5B222F-880A-4698-A87D-A933A592C2E5@ukp.informatik.tu-darmstadt.de> In-Reply-To: <1C5B222F-880A-4698-A87D-A933A592C2E5@ukp.informatik.tu-darmstadt.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 How is this different from what aggregates are for? -Chris ________________________________________ From: Richard Eckart de Castilho [eckart@ukp.informatik.tu-darmstadt.de] Sent: Friday, June 08, 2012 3:14 AM To: Subject: Re: AW: Calling an annotator from another annotator Am 08.06.2012 um 10:50 schrieb : > At the moment, uimaFIT doesn't have explicit support for injecting Analys= isEngineDescriptors directly as parameters. One could imagine something lik= e this: > > createPrimitiveDescriptor(OuterAE.class, > OuterAE.PARAM_NAME, "outer", > OuterAE.PARAM_INNER_AE, createPrimitiveDescriptor(InnerAE.c= lass, > PARAM_NAME, "inner"); I've been thinking a bit more about this part. It looks intriguingly simple= , but its not as straight as with the external resources. When a analysis e= ngine descriptor is created with uimaFIT factories, I want it to be self-co= ntained. Unfortunately, there is no good place where auxiliary analysis eng= ine descriptors could be stored in an AnalysisEngineDescription, in particu= lar a place from where the data could be accessed and injected into a compo= nent. The straight-forward way of just serializing the descriptor into XML = and passing that as a String parameter would work, but it's so ugly that I = don't even want to consider implementing that... just imagine what would ha= ppen if that descriptor is opened in the Eclipse component editor. I've opened an uimaFIT issue though - just in case. http://code.google.com/p/uimafit/issues/detail?id=3D124 -- Richard -- ------------------------------------------------------------------- Richard Eckart de Castilho Technical Lead Ubiquitous Knowledge Processing Lab (UKP-TUD) FB 20 Computer Science Department Technische Universit=E4t Darmstadt Hochschulstr. 10, D-64289 Darmstadt, Germany phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117 eckart@ukp.informatik.tu-darmstadt.de www.ukp.tu-darmstadt.de Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de -------------------------------------------------------------------