Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D8ECE200B7C for ; Thu, 8 Sep 2016 19:46:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D7882160ABD; Thu, 8 Sep 2016 17:46:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 198D1160AAD for ; Thu, 8 Sep 2016 19:46:43 +0200 (CEST) Received: (qmail 58363 invoked by uid 500); 8 Sep 2016 17:46:43 -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 58345 invoked by uid 99); 8 Sep 2016 17:46:42 -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; Thu, 08 Sep 2016 17:46:42 +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 4DF75180651 for ; Thu, 8 Sep 2016 17:46:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id PUdCylugkMyW for ; Thu, 8 Sep 2016 17:46:41 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 8FD595F369 for ; Thu, 8 Sep 2016 17:46:40 +0000 (UTC) Received: from [192.168.0.5] ([46.223.1.82]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0Lcg4t-1bIrKC2kOl-00kAw5 for ; Thu, 08 Sep 2016 19:46:39 +0200 Subject: Re: UIMA RUTA script with stringfunctions doesnt work when executing from UIMA-Fit To: user@uima.apache.org References: <231da775-7815-0b4d-efcc-dff1e58f6cb4@averbis.com> From: =?UTF-8?Q?Peter_Kl=c3=bcgl?= Message-ID: Date: Thu, 8 Sep 2016 19:46:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <231da775-7815-0b4d-efcc-dff1e58f6cb4@averbis.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:xSEJgyxU75AmrIsQYk9tFnusVagP6pqC6uMlJ7RU6mfULqvf30B 7G3mO0CWhBuF8YcdNflyMIct2F0pNswi9W6PNS9zyoFSLHR+cp5jrpANIaAgRFtVXpIdiy3 RJDqb7m2H0SF3/rBVRWD0mijRLjRsUDSM3xX/fOt5VtEFalfB4RC23/esV0Bwu4vryq6w/z ve9zAiTI5sMaZ1weD45UA== X-UI-Out-Filterresults: notjunk:1;V01:K0:vODOvPJZQuY=:YXiPBZ2q8LkmkHtb8VTHKM o5bN/BxbepHBJgjL2ywW4DftOKZIbK/kNGUnugnm3PAsbM34fQecehxxoBBsF2zd/jTm6QJY6 YUyOY/TjqM/txjMVXHTn4zk6pLZd5MYVJCgkw4KovveD6cyxUpmlimVq5SkpmNUE2MyrDQIku xAlcgApiOKoXs959YzQZru50CfKchEAsKBiEzuf0n/INVmIZOuY4dvws9S8GLuQ21GI3poE0A wl5dvuwMa3BYCvr34nFO8DprXYxAfXN1z3DJ2wKz+Ub/SSan2E+j2ohZrl+KIpLWI/Ce9WfUZ lxqTDOrT66YzjDs/gdw15+peM4nsztDRYePKX1MQO5QgxkrrEDSxHrteCyt6GNUshvy7xbGQn 72mlvSUHt/lABgOKHVa8Ao0wQ75sCHjErbS6gaGhdSPB3HHdUASO/jZ8nAF8LsIqo0UylvlId GTdGSlRZSEOBEI8jFJzriVL1J586vxbNFEt/qEB3khpgbbBVumUKo8tDGpQSX2dmvrIlph73x j8Q4foWMlOZ441Qo8RmHJaePINrwiuDhY0uVh45duFiHMlbfWTQoIX7GF0QLaYAo2r+r/44TD c5pVGXSsFsurfiWdT/o/0YIWpyDJ54Nmc8X3Yk92Bv/YOvDiB3dUrbEOI/H5vCdZT/xr6X9lx JcFxzbi3VTNmYD7D7HHYCnATxjlUuxJIYUrZiC5IIUaqIzfOzjgNypYm4ytoV/silYuE6BW0J 616HuelBK4y5hOgdBtsW+VEuKZIRX+FAsmygiw== archived-at: Thu, 08 Sep 2016 17:46:45 -0000 Sorry, that was the wrong extension... it should read: = AnalysisEngineFactory.createEngine(RutaEngine.class, RutaEngine.PARAM_ADDITIONAL_EXTENSIONS, new String[]{BooleanOperationsExtension.class.getName()}); btw its better to create a description first, and then the analysis engine. Best, Peter Am 08.09.2016 um 13:50 schrieb Peter Klügl: > Hi, > > > what is the content of line 28 in your script? I assume it's the line > with "equalsIgnoreCase", right? > > > How do you create the analysis engine for your ruta script? I assume > that you use something like: > > > AnalysisEngineFactory.createEngineDescription(RutaEngine.class, ...) > > > Do you set values for the configuration parameters (the "..." part), > especially the configuration parameter "additionalExtensions"? > > > The values for this configurtation parameter are normally set > automatically by the Workbench or by the ruta-maven-plugin. If you use > plain uimaFIT to create your analysis engine you need to specify the > extensions by yourself. > > Something like: > > > AnalysisEngineFactory.createEngineDescription(RutaEngine.class, > RutaEngine.PARAM_ADDITIONAL_EXTENSIONS, new > String[]{StringOperationsExtension.class.getName()}); > > > should do the trick. You can also take a look at the analysis engine > descriptors in your ruta project, which extensions are configured > automatically. > > > Best, > > > Peter > >