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 2015/10/21 16:54:27 UTC
[jira] [Resolved] (UIMA-4599) Ruta: unknown problem in optional
rule element
[ https://issues.apache.org/jira/browse/UIMA-4599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Klügl resolved UIMA-4599.
-------------------------------
Resolution: Fixed
Assignee: Peter Klügl
fixed
> 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
> Assignee: 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)