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 846B9D317 for ; Fri, 9 Nov 2012 12:24:59 +0000 (UTC) Received: (qmail 81623 invoked by uid 500); 9 Nov 2012 12:24:59 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 81223 invoked by uid 500); 9 Nov 2012 12:24:53 -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 81180 invoked by uid 99); 9 Nov 2012 12:24:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 12:24:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [84.88.79.60] (HELO MX01.barcelonamedia.org) (84.88.79.60) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 12:24:44 +0000 X-IronPort-AV: E=Sophos;i="4.80,744,1344204000"; d="scan'208";a="1860534" Received: from fbmht02.corp.barcelonamedia.org ([84.88.79.41]) by fbmip01.barcelonamedia.org with ESMTP; 09 Nov 2012 13:24:21 +0100 Received: from [84.88.76.9] (84.88.76.9) by mail.barcelonamedia.org (84.88.79.42) with Microsoft SMTP Server (TLS) id 8.1.436.0; Fri, 9 Nov 2012 13:24:21 +0100 Message-ID: <509CF5F5.7050309@barcelonamedia.org> Date: Fri, 9 Nov 2012 13:24:21 +0100 From: David Garcia Narbona User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Subject: [Pythonnator] subiterator and array specification in descriptor Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, having a look at pyhonnator.py API, is it possible to specify array parameters in descriptor file? It seems that AnnotatorContext only defines String, Float and Integer extraction. I have tried getting parameter defined as aa array into a previously defined list variable, by using extractValue AnnotatorContext method, but it didn't work. Regarding getting subIterator from an Annotation, as it is available from UIMACPP API, I have not seen any subiterator method in pythonnator.py API. Is it possible this option? Regards, David