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 99CABD88C for ; Fri, 16 Nov 2012 16:03:04 +0000 (UTC) Received: (qmail 82796 invoked by uid 500); 16 Nov 2012 16:03:04 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 82566 invoked by uid 500); 16 Nov 2012 16:03:01 -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 82534 invoked by uid 99); 16 Nov 2012 16:03:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 16:03:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eaepstein@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 16:02:56 +0000 Received: by mail-ie0-f175.google.com with SMTP id c13so3759215ieb.6 for ; Fri, 16 Nov 2012 08:02:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EN9AMQKqvsoiICpqHqAQsqnYzv4WI1jn1pA0n+IMgSI=; b=IuEiNJp5vzfMW/PyFw0AoVu9Ub4Jtazhuzg8npFAmH4Ofn7tupfz/9F/WqcyWvsH7G q33MXDrmYpMeZ+/yotHh/d75bO856is9zTnaQNGjD3AcC6Ye+BOwys2u4+8whGUFlWEZ qKfr64TgN9fAGuvYQyfGVVQIViFVnAVE/8vCTxuuuq+Q2ZGlGLmbi2da94asO97a5I6f p2zKq4UnVginVpVRLMxxCoFQ6pAkHAkaRx6JNcXD8q9XLbZ/LY8c3qDdKotpZAoxk1+g GVUVGRdHxOar4h9KoZkp2D2uUgg2aHFb+Nb916blEgUPFKmasKwkLfmbxNMPiT7Ea2W0 J61w== MIME-Version: 1.0 Received: by 10.50.152.194 with SMTP id va2mr3715177igb.25.1353081755674; Fri, 16 Nov 2012 08:02:35 -0800 (PST) Received: by 10.43.58.135 with HTTP; Fri, 16 Nov 2012 08:02:35 -0800 (PST) In-Reply-To: <509CF5F5.7050309@barcelonamedia.org> References: <509CF5F5.7050309@barcelonamedia.org> Date: Fri, 16 Nov 2012 11:02:35 -0500 Message-ID: Subject: Re: [Pythonnator] subiterator and array specification in descriptor From: Eddie Epstein To: user@uima.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi David, The python swig interface to C++ is defined in $UIMACPP_HOME/scriptators/uima.i It should be easy for you to extend this class to include any UIMA C++ API. Regards, Eddie On Fri, Nov 9, 2012 at 7:24 AM, David Garcia Narbona wrote: > 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