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] [Assigned] (UIMA-5947) Ruta: regex rule for subtoken annotation fails PARTOF
Date Thu, 10 Jan 2019 16:32:00 GMT

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

Peter Klügl reassigned UIMA-5947:
---------------------------------

    Assignee: Peter Klügl

> Ruta: regex rule for subtoken annotation fails PARTOF
> -----------------------------------------------------
>
>                 Key: UIMA-5947
>                 URL: https://issues.apache.org/jira/browse/UIMA-5947
>             Project: UIMA
>          Issue Type: Bug
>          Components: Ruta
>    Affects Versions: 2.6.1ruta
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>            Priority: Major
>             Fix For: 2.7.0ruta
>
>
> {noformat}
> 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);
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message