Description
PACKAGE uima.ruta.training; DECLARE Keyword; DECLARE Entity(STRING value); DECLARE Digit; "100001" -> Keyword; "[0-9]" -> Digit; ADDRETAINTYPE(WS); a:(Keyword ANY*{PARTOF({W,Digit})}){-> Entity, Entity.value = a.ct}; REMOVERETAINTYPE(WS);