uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Klügl (Jira) <...@uima.apache.org>
Subject [jira] [Created] (UIMA-6132) Ruta: support label expressions at macro action
Date Fri, 04 Oct 2019 14:46:00 GMT
Peter Klügl created UIMA-6132:
---------------------------------

             Summary: Ruta: support label expressions at macro action
                 Key: UIMA-6132
                 URL: https://issues.apache.org/jira/browse/UIMA-6132
             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)

Mime
View raw message