Michael Stenger created UIMA-6407:
-------------------------------------

             Summary: Ruta: Relevance/Purpose of GATHER
                 Key: UIMA-6407
                 URL: https://issues.apache.org/jira/browse/UIMA-6407
             Project: UIMA
          Issue Type: Question
          Components: Ruta
    Affects Versions: 3.1.0ruta, 2.8.1ruta
            Reporter: Michael Stenger


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:
{noformat}
A B{-> GATHER(C, 1, 2, "a" = 1, "b" = 2)};
// VS
x:A y:B{-> CREATE(C, 1, 2, "a" = x, "b" = y)};{noformat}
Some clarification would be great. Thank you.

Best, Michael



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to