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 1EFFF18D0B for ; Thu, 13 Aug 2015 08:05:16 +0000 (UTC) Received: (qmail 38524 invoked by uid 500); 13 Aug 2015 08:05:11 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 38427 invoked by uid 500); 13 Aug 2015 08:05:10 -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 38413 invoked by uid 99); 13 Aug 2015 08:05:10 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2015 08:05:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id DCA331A9FA4 for ; Thu, 13 Aug 2015 08:05:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.373 X-Spam-Level: *** X-Spam-Status: No, score=3.373 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RDNS_NONE=2.5, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=unsilo.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id HjAKsEW_uJUD for ; Thu, 13 Aug 2015 08:05:03 +0000 (UTC) Received: from spamd1-us-west.apache.org (unknown [209.188.14.142]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id A492E52010 for ; Thu, 13 Aug 2015 08:05:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 522DEDD2A1 for ; Thu, 13 Aug 2015 08:05:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=unsilo.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Cx-_qDp_yec1 for ; Thu, 13 Aug 2015 08:04:55 +0000 (UTC) Received: from spamd4-us-west.apache.org (unknown [209.188.14.142]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 94FC22834E for ; Thu, 13 Aug 2015 07:56:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E0BD6C027A for ; Thu, 13 Aug 2015 07:56:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=unsilo.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id dNenmcmdGIno for ; Thu, 13 Aug 2015 07:55:58 +0000 (UTC) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 1DA8E31D14 for ; Thu, 13 Aug 2015 07:32:02 +0000 (UTC) Received: by lbbpu9 with SMTP id pu9so22289482lbb.3 for ; Thu, 13 Aug 2015 00:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unsilo.com; s=unsilo; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=r+26upThFH6OTvrP43CtutJ7nHRTpnKNYCLKYuEZaMQ=; b=CwJBbSDpHqsDZqgHt6PtA9wIdSInA2cWvjulZzScKLmIWCGdINBzeIn1lMgsdv1F84 cst7mwNBmKhIITn5Iyy5oTTPpQXpZLcc/XxQ3r6wbODYcyv3zTP/+MhxZqfKsTjaJ+Mn 2crSCeIAKyunwO38rPkRQFjSevFIMADkizaog= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=r+26upThFH6OTvrP43CtutJ7nHRTpnKNYCLKYuEZaMQ=; b=Tg+VrpumENFW9oyJ933hv7vm15bI9TemuGpX7Y6eV8je58201vcQnBmY0/v11ge0cZ rWXkzbSrsxHKilKuzyRatvpuk6kRG5ZYxuNM9x2OEEhiTmySIRNRkeeIp5GIyEtqL68A LjIxNsgrNEA/xKQfzsihQMfYuirVN9iPZHbyzXrx/rYvfjw2ipHUXkVAU1qhR3jsUSRg ByNJ/JGaLTBsATZQDf7uYEdLAxTCcrluEBvNQL4+EmALO9KxXbu2JzG5dBKNLrN0L0A2 pbBWTpJSHI9k94fFN/GIu97bUxg0x6UMx4tV4QoxQUiGqf71MTfYK9R9x7qbIhnfmiJW q3sw== X-Gm-Message-State: ALoCoQkhnCwFawK9Cj7dPlzzbXOIYV0fyq5qX1F6n3bjNV8Mvg56LaSWVaE78ZmeSHBnAtoQky6s X-Received: by 10.152.205.43 with SMTP id ld11mr23967170lac.61.1439451120291; Thu, 13 Aug 2015 00:32:00 -0700 (PDT) Received: from [10.0.0.34] ([87.104.236.202]) by smtp.gmail.com with ESMTPSA id au10sm330773lbc.1.2015.08.13.00.31.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Aug 2015 00:31:59 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: UIMA Ruta doesn't detect previous annotations From: Manuel Ciosici In-Reply-To: <55C35DD4.9020009@averbis.com> Date: Thu, 13 Aug 2015 09:31:59 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <0C41FD56-D8FB-483C-BB61-180624961E43@unsilo.com> <55C35DD4.9020009@averbis.com> To: user@uima.apache.org X-Mailer: Apple Mail (2.2104) Hello Peter, Sorry for the late reply. Thank you very much, your suggestion fixed my = issue. Manuel > On 06 Aug 2015, at 15:15 , Peter Kl=C3=BCgl = wrote: >=20 > Hi, >=20 > yes this is the right place. >=20 > First quick guess: filtering settings. >=20 > Do your annotations starts with something invisible like MARKUP, SPACE > or BREAK? >=20 > You can test it by adding a rule like the following before the others > are applied. >=20 > Document{-> RETAINTYPE(WS, BREAK, MARKUP)}; >=20 > or with ruta 2.3.0, only: >=20 > RETAINTYPE(WS, BREAK, MARKUP); >=20 > Best, >=20 > Peter >=20 >=20 > Am 06.08.2015 um 15:05 schrieb Manuel Ciosici: >> Hello, >>=20 >> I hope this is the right place to ask about using UIMA Ruta.=20 >>=20 >> I am trying to integrate Ruta in an UIMA pipeline after an AE and add = some annotations based on the ones added by the previous AE. Currently, = my Ruta script doesn=E2=80=99t seem to be able to pick up those = previously existing annotations. I have saved the output from the = previous AE in an XMI file and I=E2=80=99m testing using the Eclipse = workbench. >>=20 >> I can see the annotations from the previous AE in the Annotation = Browser View, so they are there, but when I look in the Applied Rules = view, Ruta never attempts to apply the rule (shows 0/0 for attempts). = I=E2=80=99ve tried creating some of the same annotations from my Ruta = script and these are seen by my other Ruta rules. I have also played = around with various ways of importing the types using TYPESYSTEM and = IMPORT, but to no effect. >>=20 >> Here=E2=80=99s a sample script exhibiting this behaviour: >>=20 >> PACKAGE com.unsilo.ruta_test; >> TYPESYSTEM com.unsilo.cproc.types.TestAnnotations; >>=20 >> XMLTagAnnotation.tagName =3D=3D "Book" { -> XMLTagAnnotation.tagName = =3D "BookPublisher=E2=80=9D}; >>=20 >>=20 >> The TestAnnotations XML file is located in the descriptor folder = under the path com/unsilo/cproc/types/TestAnnotations.xml. >>=20 >> Thank you, >> Manuel >=20