[ 
https://issues.apache.org/jira/browse/UIMA-6407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Stenger resolved UIMA-6407.
-----------------------------------
    Fix Version/s: 3.1.0ruta
                   2.8.1ruta
       Resolution: Fixed

> 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: 2.8.1ruta, 3.1.0ruta
>            Reporter: Michael Stenger
>            Assignee: Peter Klügl
>            Priority: Minor
>             Fix For: 3.1.0ruta, 2.8.1ruta
>
>
> 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