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 7EE1F17B0F for ; Wed, 7 Jan 2015 14:51:22 +0000 (UTC) Received: (qmail 50721 invoked by uid 500); 7 Jan 2015 14:51:23 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 50600 invoked by uid 500); 7 Jan 2015 14:51:23 -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 50552 invoked by uid 99); 7 Jan 2015 14:51:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 14:51:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of silvestre.losada@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 14:50:54 +0000 Received: by mail-lb0-f173.google.com with SMTP id z12so1206530lbi.18 for ; Wed, 07 Jan 2015 06:50:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=aa3r4Ffvpe4DOr4lx6eQhT91GeLA7cZtB8oOk13rweE=; b=s3Zb/UASfd7/EMc5GTHJiJUIMm9YNRLRaDp+uC6SXnimeQmRyUTD5Qw1hxtnlO/5h+ x2msIP1fvpjPXVHMIHSr5fIVXX/eyDrj5D1/uPbbZJFtM4VRKVFQYn+fYrzpwbpR9zw9 OxzJvcdohmOpNee94b7c4J2Tg5WsOlCXx1xIyMQ5zkT6eoo00wB2kYoYCSEo7NSM+qtP 8b6NYl2hYChp3fgZlpwR56mNr43mtnO2Al8Q33YFhx6C5FmO+535Y5CG04Fm15o53lfB Pd+R0E7hO7zoA2/W609kVPqQZgvfm9EW9DJIyhEhSVE4MUhmGZ7LDTEZ/WBKrTxdwRWW C52Q== X-Received: by 10.112.169.34 with SMTP id ab2mr5142279lbc.77.1420642253664; Wed, 07 Jan 2015 06:50:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.17.211 with HTTP; Wed, 7 Jan 2015 06:50:33 -0800 (PST) In-Reply-To: <54AD341B.9050602@uni-wuerzburg.de> References: <54AA69A4.6000807@uni-wuerzburg.de> <54AD341B.9050602@uni-wuerzburg.de> From: Silvestre Losada Date: Wed, 7 Jan 2015 15:50:33 +0100 Message-ID: Subject: Re: Ruta check if feature is null. To: user@uima.apache.org Content-Type: multipart/alternative; boundary=001a11c26464e1f84b050c110c94 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c26464e1f84b050c110c94 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi peter, I think your assumptions are ok. Best On 7 January 2015 at 14:26, Peter Kl=C3=BCgl wro= te: > Hi, > > I assume that this will only affect feature (match/assignment) > expressions concerning non-primitive values for now. So we could add a > new type of (dummy) expression only in combination with complex features. > > I further assume that we do not need null-expression in combinations > with primitive values, right? > > Thanks for the offer, but maybe it's better if I implement the changes > since I am not sure yet which and how many consequences the changes will > have, e.g., the compare method of FeatureMatchExpressions does not work > yet with complex features. > > Best, > > Peter > > Am 06.01.2015 um 19:54 schrieb Silvestre Losada: > > Hi Peter, > > > > I opened new feature request, so if you wish you can explain to me the > > ideas that you have and I can implement it. > > > > > > Best. > > > > On 5 January 2015 at 11:38, Peter Kl=C3=BCgl > wrote: > > > >> Hi, > >> > >> that's not (yet) supported. You can open a feature request if you want= . > >> This shouldn't be too complicated to implement. I already have some > ideas... > >> > >> This functionality is specified right now in ruta by using an addition= al > >> boolean feature, which stores whether the original feature was set. > >> > >> Best, > >> > >> Peter > >> > >> Am 05.01.2015 um 10:41 schrieb Silvestre Losada: > >> > >> Hi all, > >>> I was looking into the UIMA ruta documentation and I dont know how to > >>> check > >>> in ruta script a feature of given annotation is null. Something like > this > >>> > >>> MyAnnotation.feature=3D=3D NULL{-> ...} > >>> > >>> > >>> is that possible? > >>> > >>> Kind regards. > >>> > >>> > > > --001a11c26464e1f84b050c110c94--