You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (Jira)" <de...@uima.apache.org> on 2019/10/04 14:49:00 UTC

[jira] [Created] (UIMA-6133) Ruta: argument name in macro action may not be equal to label variable

Peter Klügl created UIMA-6133:
---------------------------------

             Summary: Ruta: argument name in macro action may not be equal to label variable
                 Key: UIMA-6133
                 URL: https://issues.apache.org/jira/browse/UIMA-6133
             Project: UIMA
          Issue Type: Bug
          Components: Ruta
    Affects Versions: 2.7.0ruta
            Reporter: Peter Klügl


{noformat}
ACTION CreateDate(ANNOTATION year, ANNOTATION month, ANNOTATION day) = CREATE(Date, "kind" = "DATE", "year" = year, "month" = month, "day" = day);
ACTION CreateDateInterval(ANNOTATION startDate, ANNOTATION endDate) = CREATE(DateInterval, "kind" = "DATEINTERVAL", "startDate" = startDate, "endDate" = endDate);

(day:DayInd{-> d1:CreateDate(d2.year,d2.month,day)} TemporalIntervalEndIndicator 
    d2:@Date{d2.day!=null, d2.month!=null}){-> CreateDateInterval(d1, d2)};
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)