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

Ruta: support label expressions at macro action

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0ruta
    • Fix Version/s: 3.0.0ruta, 2.8.0ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      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)};
      

        Attachments

          Activity

            People

            • Assignee:
              pkluegl Peter Klügl
              Reporter:
              pkluegl Peter Klügl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: