uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Klügl (JIRA) <...@uima.apache.org>
Subject [jira] [Created] (UIMA-3670) Ruta action SETFEATURE does not work with feature expressions
Date Fri, 07 Mar 2014 11:53:42 GMT
Peter Klügl created UIMA-3670:
---------------------------------

             Summary: Ruta action SETFEATURE does not work with feature expressions
                 Key: UIMA-3670
                 URL: https://issues.apache.org/jira/browse/UIMA-3670
             Project: UIMA
          Issue Type: Bug
          Components: ruta
    Affects Versions: 2.1.0ruta
            Reporter: Peter Klügl
            Assignee: Peter Klügl


Ruta action SETFEATURE does not work with feature expressions:

{noformat}
DECLARE Annotation X (STRING s);
DECLARE X C;
DECLARE X B (C c);
DECLARE X A (B b);
W{-> CREATE(C, "s" = "c")};
W{-> CREATE(B, "c" = C, "s" = "b")};
W{-> CREATE(A, "b" = B, "s" = "a")};

A{-> SETFEATURE("s", A.b.c.s)};
{noformat}

Feature s of annotation matched by type A is not set to "c". This is cuased by the misinterpretation
of the feature expression as a number expression, I think.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message