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 DB4C01098D for ; Fri, 13 Feb 2015 21:20:58 +0000 (UTC) Received: (qmail 53163 invoked by uid 500); 13 Feb 2015 21:20:58 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 53117 invoked by uid 500); 13 Feb 2015 21:20:58 -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 53106 invoked by uid 99); 13 Feb 2015 21:20:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 21:20:58 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [132.187.3.35] (HELO mailrelay.rz.uni-wuerzburg.de) (132.187.3.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 21:20:51 +0000 Received: from virusscan-slb.rz.uni-wuerzburg.de (localhost [127.0.0.1]) by mailrelay-slb.rz.uni-wuerzburg.de (Postfix) with ESMTP id 20DBA180269C for ; Fri, 13 Feb 2015 22:19:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan-slb.rz.uni-wuerzburg.de (Postfix) with ESMTP id 1EC63800DA0 for ; Fri, 13 Feb 2015 22:19:00 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-wuerzburg.de Received: from mailmaster.uni-wuerzburg.de ([127.0.0.1]) by localhost (vmail002.slb.uni-wuerzburg.de [127.0.0.1]) (amavisd-new, port 10225) with ESMTP id xuiEF_0_4Gde for ; Fri, 13 Feb 2015 22:19:00 +0100 (CET) Received: from [192.168.0.5] (HSI-KBW-46-223-1-16.hsi.kabel-badenwuerttemberg.de [46.223.1.16]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTPSA id E21D71012A0E for ; Fri, 13 Feb 2015 22:18:59 +0100 (CET) Message-ID: <54DE6A42.3000101@uni-wuerzburg.de> Date: Fri, 13 Feb 2015 22:18:58 +0100 From: =?UTF-8?B?UGV0ZXIgS2zDvGds?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: Ruta partofneq References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org This should work just fine and should remove both contained annotations. I just tested it with the current trunk and the following script: DECLARE T1; "A B" -> T1; "B" -> T1; "B" -> T1; (T1{-> UNMARK(T1)}){PARTOFNEQ(T1)}; If applied on the test "A B", only the largest annotation remains. Can you test it with the current trunk in case I fixed the bug a few minutes ago by accident. If not, can you give me more information about the context of your rule? Best, Peter Am 12.02.2015 um 10:12 schrieb Silvestre Losada: > I dont know if this is a bug or if it is wokring well. I have the following > annotations. > > AnnotationA > begin:0 > ends:8 > id:1 > AnnotationA > begin:4 > ends:8 > id:2 > AnnotationA > begin: 4 > ends:8 > id:3 > > Then if apply the following ruta > > (AnnotationA{-> UNMARK(AnnotationA)}){PARTOFNEQ(AnnotationA)}; > > The output is > AnnotationA > begin:0 > ends:8 > id:1 > AnnotationA > begin: 4 > ends:8 > id:3 > > I expect that annotations with id 2 and 3 will be removed. Is there any way > to remove both > > Kind regards >