Peter Klügl created UIMA-4599:
---------------------------------
Summary: Ruta: unknown problem in optional rule lement
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)