From user-return-8035-archive-asf-public=cust-asf.ponee.io@uima.apache.org Mon Feb 18 11:58:50 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 03F7E180647 for ; Mon, 18 Feb 2019 12:58:49 +0100 (CET) Received: (qmail 39749 invoked by uid 500); 18 Feb 2019 11:58:48 -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 39736 invoked by uid 99); 18 Feb 2019 11:58:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2019 11:58:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BA14318564E for ; Mon, 18 Feb 2019 11:58:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.798 X-Spam-Level: * X-Spam-Status: No, score=1.798 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id KTRw3hTDWsld for ; Mon, 18 Feb 2019 11:58:46 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 71DF95F239 for ; Mon, 18 Feb 2019 11:49:09 +0000 (UTC) Received: by mail-wr1-f46.google.com with SMTP id d17so3585823wre.10 for ; Mon, 18 Feb 2019 03:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=0Q2pyHRHv6F7Nagmb+l8e4kojDfWb/gtepidCJCN7jw=; b=A6T0aQG/ugMsYLsIHhYF9kuqqlXBtBrPCbn5xRvN4qv+BYUKssbldluevjbrYMeIh7 PxlsjnvsA6ZRNceSHHDf+n5upRGZblKRozLVjT9BEQDn2LK5iDUClrBc5sGkHPQ2jbL3 Ooy7WNQX5di4NSqdwLHqv/z4SGObx+sCjk+PfgRatQLTxZPJCS1dhtEuIDtX/COM1Nl0 7aijVrQjdVBCqVAw/Z6ClNgtKtEQ+KFy1ym3T57VPRpl95AWGS2QXddxqrWcYHzv5mEP QF1uHxqb0LJzYJtJXWE/5huPbMxc+y2kcsSMtnTlZfvLAcHISDilNKnPoVd63zAimXlS wnyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=0Q2pyHRHv6F7Nagmb+l8e4kojDfWb/gtepidCJCN7jw=; b=dwbD4Dn867l7klsMNq5pmkNDTMCZsJ0EjU3bpU8RMX6sHbd8De+UwMq5RF8ybthqOY uVqGqusinahDvNGFWTU9H/fVRh85cyPzQrTw+K/36tkBOeYVIdfSglZpSJ9Xz0Km9MtC yj5qrB75g0O27A+L0kGFxkeSLiEGpgK5X4KG+YZzJnTJIECxbk094t/M3FdmyEMj7lhq PTLqhSMduwAZVeW2BNxSNf6JZCBeiOeMEPelQ8Lm6/W1xBOcDjiO8TMDgb0xfRVT9yIP v3atEbRMKSRIQ+TWI8VDiLkt6v4cJhYl6GqlHk++kdt5jTU8CGfZUXl1CsE3q06zsvei JVpg== X-Gm-Message-State: AHQUAuaS6fm0o2qJ55BsMawoGI/Lwauq6VZEVCkJZHFPKqXc95cOzxWL vZQDcIRwqaz6KUm/+0AsvFSvLeNt X-Google-Smtp-Source: AHgI3IbalMtt2ZBktSTtSff0n2458RCrDMnYPqE3NXltgT3DNZ3kxV6+GZbUs7+/1H6qlZVpqkzITQ== X-Received: by 2002:adf:eb45:: with SMTP id u5mr15791660wrn.102.1550490547908; Mon, 18 Feb 2019 03:49:07 -0800 (PST) Received: from [10.1.7.190] ([87.190.24.106]) by smtp.gmail.com with ESMTPSA id h142sm24089500wme.33.2019.02.18.03.49.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 03:49:06 -0800 (PST) From: Sarah X-Mailbutler-Message-Id: FC3FDCBE-1823-4EAB-AD4F-30A5FD92AC7F Content-Type: multipart/alternative; boundary="Apple-Mail=_C94D8F1F-5030-4976-98EE-CC37BB1013D3" Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Uima and spring Message-Id: <710E87B2-E94B-4304-BC35-6FA3380CF16F@gmail.com> Date: Mon, 18 Feb 2019 12:48:52 +0100 To: "user@uima.apache.org" X-Mailer: Apple Mail (2.3445.102.3) --Apple-Mail=_C94D8F1F-5030-4976-98EE-CC37BB1013D3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, I am using uimafit annotators in a spring component. These annotators = use external resources. These resources are currently produced for every = JCas even though the Aggregate Engine is created inside of the Spring = component's init and merely the process method is called on the = individual JCas objects. This slows my system down. How do I handle external resources appropriately in a spring component. = I found the SpringContextResourceManager but I don=E2=80=99t know how to = use it. Can you point me to an example where e.g. the DKPro CoreNLP = Annotators are used in a spring context? All the best, Sarah --Apple-Mail=_C94D8F1F-5030-4976-98EE-CC37BB1013D3--