Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3670

Ruta action SETFEATURE does not work with feature expressions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0ruta
    • Fix Version/s: 2.2.0ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      Ruta action SETFEATURE does not work with feature expressions:

      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)};
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              pkluegl Peter Klügl
              Reporter:
              pkluegl Peter Klügl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: