From user-return-4357-apmail-uima-user-archive=uima.apache.org@uima.apache.org Fri Jun 8 09:15:15 2012 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 6A1A29118 for ; Fri, 8 Jun 2012 09:15:15 +0000 (UTC) Received: (qmail 27290 invoked by uid 500); 8 Jun 2012 09:15:15 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 26908 invoked by uid 500); 8 Jun 2012 09:15:13 -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 26865 invoked by uid 99); 8 Jun 2012 09:15:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 09:15:12 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FSL_RCVD_USER,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [130.83.156.232] (HELO lnx503.hrz.tu-darmstadt.de) (130.83.156.232) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 09:15:05 +0000 Received: from mx.ukp.informatik.tu-darmstadt.de (fansworth.ukp.informatik.tu-darmstadt.de [130.83.167.132]) by lnx503.hrz.tu-darmstadt.de (8.14.4/8.14.4/HRZ/PMX) with ESMTP id q589EiUr028398 for ; Fri, 8 Jun 2012 11:14:44 +0200 (envelope-from eckart@ukp.informatik.tu-darmstadt.de) Received: from amy.ukp.informatik.tu-darmstadt.de ([169.254.1.38]) by fansworth.ukp.informatik.tu-darmstadt.de ([169.254.2.172]) with mapi id 14.02.0298.004; Fri, 8 Jun 2012 11:14:43 +0200 From: Richard Eckart de Castilho To: "" Subject: Re: AW: Calling an annotator from another annotator Thread-Topic: AW: Calling an annotator from another annotator Thread-Index: Ac1FQ+Kd9TEGkoP8TIqqTVe0UEgbLf//63UA///NDLCAAEx5AA== Date: Fri, 8 Jun 2012 09:14:43 +0000 Message-ID: <1C5B222F-880A-4698-A87D-A933A592C2E5@ukp.informatik.tu-darmstadt.de> References: In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [130.83.167.135] Content-Type: text/plain; charset="iso-8859-1" Content-ID: <1BAB9417DF1BD740839D1EBC88B45869@ukp.informatik.tu-darmstadt.de> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-PMX-TU: seen v1.2 by 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.6.8.90323 X-PMX-RELAY: outgoing 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: >=20 > createPrimitiveDescriptor(OuterAE.class, > OuterAE.PARAM_NAME, "outer", > OuterAE.PARAM_INNER_AE, createPrimitiveDescriptor(InnerAE.class,=20 > 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 --=20 -------------------------------------------------------------------=20 Richard Eckart de Castilho Technical Lead Ubiquitous Knowledge Processing Lab (UKP-TUD)=20 FB 20 Computer Science Department =20 Technische Universit=E4t Darmstadt=20 Hochschulstr. 10, D-64289 Darmstadt, Germany=20 phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117 eckart@ukp.informatik.tu-darmstadt.de=20 www.ukp.tu-darmstadt.de=20 Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de -------------------------------------------------------------------=20