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 2013/05/08 10:21:15 UTC

[jira] [Created] (UIMA-2880) Extend simple ruta regexp rules with feature support

Peter Klügl created UIMA-2880:
---------------------------------

             Summary: Extend simple ruta regexp rules with feature support
                 Key: UIMA-2880
                 URL: https://issues.apache.org/jira/browse/UIMA-2880
             Project: UIMA
          Issue Type: New Feature
          Components: ruta
    Affects Versions: 2.0.1ruta
            Reporter: Peter Klügl
            Assignee: Peter Klügl
             Fix For: 2.0.2ruta


It would be nice if the simple regexp rule also supports the assignment of feature values. The proposed syntax is something like:

{noformat}
"(regexp) (string)" -> Type1, 1 = Type2 ("feat" = 2);
{noformat}

The additional parentheses contain the feature assignments whereas numermic expressions refer to the matching group. All other expressions are interpreted as before. If someone wants to assign numbers to primitive features, then he/she has to write another (normal) rule.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira