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 EB212EE7D for ; Mon, 3 Dec 2012 22:58:31 +0000 (UTC) Received: (qmail 80079 invoked by uid 500); 3 Dec 2012 22:58:31 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 79997 invoked by uid 500); 3 Dec 2012 22:58:31 -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 79984 invoked by uid 99); 3 Dec 2012 22:58:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 22:58:31 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=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; Mon, 03 Dec 2012 22:58:23 +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 qB3Mvwnp021719 for ; Mon, 3 Dec 2012 23:57:58 +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::4462:cc70:fa72:847e%14]) with mapi id 14.02.0318.004; Mon, 3 Dec 2012 23:57:58 +0100 From: Richard Eckart de Castilho To: "" Subject: Re: Is is possible to pass cas view to the process method of an annotator? Thread-Topic: Is is possible to pass cas view to the process method of an annotator? Thread-Index: AQHN0YcPFOqOD1yRAUOvLl11wnsPPJgHYtMAgAAxPICAAAQ5AIAAByuA Date: Mon, 3 Dec 2012 22:57:57 +0000 Message-ID: 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: <5D0BA2A36954454EBF428EFF845191F1@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.12.3.224217 X-PMX-RELAY: outgoing X-Virus-Checked: Checked by ClamAV on apache.org Am 03.12.2012 um 23:32 schrieb Himanshu Gahlot : > One more question on a related note: Is it possible to set sofa mappings = in > the Flow Controller? From all the code usages that I have come across it > seems that sofa mappings can only be set while building the AnalysisEngin= e. Good question. I don't know. I think it's not possible since the JavaDoc of the reconfigure() methods says the method is used only to update a componen= t with new parameters. Also, the sofa mappings are read directly from the component descriptor which is afaik not accessible by a flow controller. I think sofa mappings can only be configured "statically". You probably=20 could dynamically create a nested pipeline in your flow controller. I didn't use flow controllers very much so far. Maybe someone else has a better idea. -- 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