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 A8BC817D7C for ; Wed, 27 May 2015 07:38:00 +0000 (UTC) Received: (qmail 46215 invoked by uid 500); 27 May 2015 07:37:51 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 46184 invoked by uid 500); 27 May 2015 07:37:51 -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 45960 invoked by uid 99); 27 May 2015 07:37:51 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 07:37:50 +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 9234B1822A3 for ; Wed, 27 May 2015 07:37:50 +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_MSPIKE_H2=-0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id z8Q11uo5NyEz for ; Wed, 27 May 2015 07:37:49 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 563D224BBB for ; Wed, 27 May 2015 07:37:49 +0000 (UTC) Received: from [192.168.11.108] ([132.230.176.14]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0Lakjg-1ZQDxl0jay-00kReA for ; Wed, 27 May 2015 09:37:41 +0200 Message-ID: <556574A1.9020706@averbis.com> Date: Wed, 27 May 2015 09:39:13 +0200 From: =?UTF-8?B?UGV0ZXIgS2zDvGds?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: Marking cosnecutive tokens with RUTA References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:uPQAXz6FglSet4RKgWriwL0rhjXtb5clrqSWCygeFsnw9XLLEnD OUhAJQETrvTE1HnaePemL3hvFYbHijs9BuFKFAjAB/ySetvA906ztLZaVv3a+bHB5CjdmKU BVcNPk1CMZ8EJIhaGqtCK+H5gklnDWOOJ9NbIYusk/a+aM+HHt4Diy/uVPQa21yxFkYO7PR EiteDbe6I1+FX4FC1CdfA== X-UI-Out-Filterresults: notjunk:1; Hi, that should of course be posssible :-) How do you call the script from java? Have you considered the type priorities when the CAS is created? Best, Peter PS: your examples miss semicolons. I assume that there are some in your script? Am 26.05.2015 um 20:30 schrieb Diego Buoro: > I think i wasn't clear enough, and i should be more specific. > > I have a type system in which all words have been annotated as Tokens. I am > calling a RUTA script from a java class, and that script has only one rule: > Token Token {-> Problem} > > However, with this script, no Problems are created. When I try > Token {-> Problem} > > I get one problem for each Token, which is what I expected. Why can't I > create annotations using rules with more than one word? > > Thanks > > > > > 2015-05-26 14:49 GMT-03:00 Diego Buoro : > >> Hello guys,how are you doing? >> >> I would like to know once i have called RUTA from a Java project, how can >> i mark consecutive tokens as a "Problem" (the name of my annotation, in >> this case)? >> >> Thanks in advice! >>