From user-return-6589-apmail-uima-user-archive=uima.apache.org@uima.apache.org Thu Aug 6 13:05:59 2015 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 94AD618F92 for ; Thu, 6 Aug 2015 13:05:59 +0000 (UTC) Received: (qmail 3495 invoked by uid 500); 6 Aug 2015 13:05:59 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 3450 invoked by uid 500); 6 Aug 2015 13:05:59 -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 3438 invoked by uid 99); 6 Aug 2015 13:05:58 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 13:05:58 +0000 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 61FB5DAE81 for ; Thu, 6 Aug 2015 13:05:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id FNTa1FyHRAZJ for ; Thu, 6 Aug 2015 13:05:56 +0000 (UTC) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 5266E428DF for ; Thu, 6 Aug 2015 13:05:56 +0000 (UTC) Received: by labjt7 with SMTP id jt7so30882124lab.0 for ; Thu, 06 Aug 2015 06:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unsilo.com; s=unsilo; h=from:content-type:subject:message-id:date:to:mime-version; bh=4PZgxoOFxNjZmneAYfKP4wxIhF8d8W7GQtk1haeLO/c=; b=l3FaDsapn3HRfz7IdbGwxLfatNJ2NLlk5JGNm5zmgLvLF/5lN5oLPCG456PpMRLPh4 SJKHR6aFrw6bscedMZ4ujbiN9oanUKUEE4cA72WL4Zzjv3ul6sWNJbp7n5q9FUL4kp6r coSOfEDo0B+skHx1CQnLTsnt7Qo/jW90wV8bk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:subject:message-id:date:to :mime-version; bh=4PZgxoOFxNjZmneAYfKP4wxIhF8d8W7GQtk1haeLO/c=; b=VvlP02cZDBo3zCGowgUyckRMT4r7FyysBymeO3EX1BZ79nI3MMNkbirrrnPZPDnZgW UGADMXu65lB+0SrhOOhcwaEI8+ETI5qg9vPJS8eVyON7uyYgrZVhXfdw90TvBNbs+jF9 mhSTzuUSIKTipMwb3ibHoVOTAWpzXZ68an+pjbZ1Qroh324WhsS8RzS1kCANpkKLRSsc yj3KMsze75k+/7rPqVj35pM0wD2wA7ZG3afnFxh7qsKHkRryXju20KA4Sv76xcjZ8vm0 VB4KhWED9fe47YUhU329Q/ScYV/eCvMRUCr0Kekd1XKzJ2XAiw5rus6+Xy90PXChR6Q6 eIiw== X-Gm-Message-State: ALoCoQnIB1g3x+IlApk7YvmRw9i0tW8aX1976KxOnA0QzF04fnVHV17qcYqc+wzhF1HnRIaOTSxZ X-Received: by 10.152.29.6 with SMTP id f6mr1342560lah.85.1438866348997; Thu, 06 Aug 2015 06:05:48 -0700 (PDT) Received: from [10.0.0.34] ([87.104.236.202]) by smtp.gmail.com with ESMTPSA id kx11sm163927lac.41.2015.08.06.06.05.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Aug 2015 06:05:48 -0700 (PDT) From: Manuel Ciosici Content-Type: multipart/alternative; boundary="Apple-Mail=_D409D3D1-E19B-447B-A0A4-59AB9B48E024" Subject: UIMA Ruta doesn't detect previous annotations Message-Id: <0C41FD56-D8FB-483C-BB61-180624961E43@unsilo.com> Date: Thu, 6 Aug 2015 15:05:43 +0200 To: user@uima.apache.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) --Apple-Mail=_D409D3D1-E19B-447B-A0A4-59AB9B48E024 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello, I hope this is the right place to ask about using UIMA Ruta.=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. 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. Here=E2=80=99s a sample script exhibiting this behaviour: PACKAGE com.unsilo.ruta_test; TYPESYSTEM com.unsilo.cproc.types.TestAnnotations; XMLTagAnnotation.tagName =3D=3D "Book" { -> XMLTagAnnotation.tagName =3D = "BookPublisher=E2=80=9D}; The TestAnnotations XML file is located in the descriptor folder under = the path com/unsilo/cproc/types/TestAnnotations.xml. Thank you, Manuel= --Apple-Mail=_D409D3D1-E19B-447B-A0A4-59AB9B48E024--