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

Action FILL only considers first annotation of given type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8.1ruta, 3.0.1ruta
    • Fix Version/s: 2.8.2ruta, 3.0.2ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      Hey!

      I think there is a minor bug in the implementation of action FILL, lines 79-86 of FillAction.java: Even when multiple annotations of the given type are found within/overlapping the range of the matched annotation, only one is modified here.

      Consider the following script:

      DECLARE SomeType (STRING s);
      (CW W){-> SomeType, SomeType};
      CW{-> FILL(SomeType, "s" = "test")}
      

      on the the input text:

      This is a test.
      

       Here, FILL will only assign the string value to one of the newly created SomeType annotations.

      Some clarification would be great. Thanks, Michael.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: