Return-Path: X-Original-To: apmail-incubator-ctakes-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ctakes-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 00F7CD792 for ; Tue, 5 Mar 2013 12:55:47 +0000 (UTC) Received: (qmail 97503 invoked by uid 500); 5 Mar 2013 12:55:46 -0000 Delivered-To: apmail-incubator-ctakes-dev-archive@incubator.apache.org Received: (qmail 97366 invoked by uid 500); 5 Mar 2013 12:55:43 -0000 Mailing-List: contact ctakes-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ctakes-dev@incubator.apache.org Delivered-To: mailing list ctakes-dev@incubator.apache.org Received: (qmail 97338 invoked by uid 99); 5 Mar 2013 12:55:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 12:55:42 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [130.83.156.225] (HELO lnx500.hrz.tu-darmstadt.de) (130.83.156.225) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 12:55:37 +0000 Received: from mx.ukp.informatik.tu-darmstadt.de (fansworth.ukp.informatik.tu-darmstadt.de [130.83.167.132]) by lnx500.hrz.tu-darmstadt.de (8.14.4/8.14.4/HRZ/PMX) with ESMTP id r25Ct4ho011543 for ; Tue, 5 Mar 2013 13:55:04 +0100 (envelope-from eckart@ukp.informatik.tu-darmstadt.de) Received: from amy.ukp.informatik.tu-darmstadt.de ([fe80::e194:b7dc:c046:9b16]) by FANSWORTH.ukp.informatik.tu-darmstadt.de ([fe80::e933:7191:3bf3:2caf%17]) with mapi id 14.02.0342.003; Tue, 5 Mar 2013 13:55:03 +0100 From: Richard Eckart de Castilho To: "" Subject: Re: uima parameters vs. resources (ctakes-dependency-parser) Thread-Topic: uima parameters vs. resources (ctakes-dependency-parser) Thread-Index: AQHOGNO15w5C88hK00qViOOkZ2DwCpiW+NOAgAAGDwA= Date: Tue, 5 Mar 2013 12:55:03 +0000 Message-ID: <2FF3DDCD-56F0-4E84-ADEE-3C7F6B4A2F0E@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: <86613F36B114E14CB30BFC0BE6366D78@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: 2013.3.5.124218 X-PMX-RELAY: outgoing X-Virus-Checked: Checked by ClamAV on apache.org Am 05.03.2013 um 13:33 schrieb Steven Bethard = : > On Mar 4, 2013, at 1:28 PM, "Miller, Timothy" wrote: >> The question of when to use uima descriptor parameters vs resources has = come up offline recently. My understanding is that resources are valuable = for things like large model files, where it can be loaded once by UIMA and = then shared between pipelines. I happened to notice that in the dependency = parser, which has an uncommonly large model file, the model filename is a p= arameter, and from what I can tell the model will be loaded separately for = each pipeline. Is this something that should be fixed or is there some rea= soning against using the resource mechanism in this instance or in general? >=20 > It's definitely something that should be fixed. Typically, even with resources, the model is loaded separately for each pip= eline. That is because UIMA does not support sharing pre-created objects. T= he model is shared only when multiple AEs or multiple instances of the same= AE in a single pipeline (AAE) use the model - e.g. when using running a CP= E. Then, UIMA will instantiate the model (as opposed to using a pre-existin= g instance) and pass it to the different AE instances. Cheers, -- 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 -------------------------------------------------------------------