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] [Updated] (UIMA-4599) Ruta: unknown problem in optional rule element
Date Thu, 10 Sep 2015 14:09:45 GMT

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

Peter Klügl updated UIMA-4599:
------------------------------
    Summary: Ruta: unknown problem in optional rule element  (was: Ruta: unknown problem in
optional rule lement)

> Ruta: unknown problem in optional rule element
> ----------------------------------------------
>
>                 Key: UIMA-4599
>                 URL: https://issues.apache.org/jira/browse/UIMA-4599
>             Project: UIMA
>          Issue Type: Bug
>          Components: ruta
>    Affects Versions: 2.3.1ruta
>            Reporter: Peter Klügl
>             Fix For: 2.4.0ruta
>
>
> This rule (actually a wrong tutorial rule!) causes severe problems (exceptions):
> {noformat}
> (Labor Entity.label=="NUMBER"{PARSE(v)} AhaUnit 
>     (Entity.label=="NUMBER"{PARSE(low)-> ASSIGN(hasLowerLimit, true)} 
>     Token.ct=="-" 
>     Entity.label=="NUMBER"{PARSE(high)-> ASSIGN(hasUpperLimit, true)})?
>     )
>     {-> CREATE(LaboratoryValue, 
>         "labor" = Labor,
>         "unit" = Unit,
>         "value" = ""+(v),
>         "numericValue" = v,
>         "hasNumericValue" = true,
>         "lowerLimit" = low,
>         "hasLowerLimit" = hasLowerLimit,
>         "upperLimit" = high,
>         "hasUpperLimit" = hasUpperLimit,
>         "limitsFromText" = hasUpperLimit
>         )};
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message