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

Ruta: Relevance/Purpose of GATHER

    XMLWordPrintableJSON

Details

    • Question
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.1ruta, 3.1.0ruta
    • 2.8.1ruta, 3.1.0ruta
    • Ruta
    • None

    Description

      Hi.

      This is just a question for clarification on the functionality of action GATHER. As far as I can tell, it creates a new annotation of the given type, spanning the matched annotation of the given rule elements and allows to assign them to the features of the created annotation.

      But how is this different from the CREATE action? I'd argue that the latter can do the same and more, which would render GATHER irrelevant. Just by using LabelExpressions instead of NumberExpressions as arguments:

      A B{-> GATHER(C, 1, 2, "a" = 1, "b" = 2)};
      // VS
      x:A y:B{-> CREATE(C, 1, 2, "a" = x, "b" = y)};

      Some clarification would be great. Thank you.

      Best, Michael

      Attachments

        Activity

          People

            pkluegl Peter Kl├╝gl
            Michael Stenger Michael Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: