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

Ruta action SETFEATURE does not work with feature expressions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0ruta
    • 2.2.0ruta
    • Ruta
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: