You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Martin Toepfer (JIRA)" <de...@uima.apache.org> on 2013/12/05 14:10:35 UTC

[jira] [Created] (UIMA-3483) Ruta: Setting features of a created annotation according to the matched annotation

Martin Toepfer created UIMA-3483:
------------------------------------

             Summary: Ruta: Setting features of a created annotation according to the matched annotation
                 Key: UIMA-3483
                 URL: https://issues.apache.org/jira/browse/UIMA-3483
             Project: UIMA
          Issue Type: Bug
          Components: ruta
    Affects Versions: 2.1.0ruta
            Reporter: Martin Toepfer


I would like to create an annotation with one attribute that takes the value of an attribute of the matched annotation.

For example:

DECLARE Annotation TMP_VALUE (INT resolvedByBegin);
CONCEPT_ROOT {
  ->CREATE(TMP_VALUE, "resolvedByBegin" = CONCEPT_ROOT.resolvedBy.begin)
};

where resolvedBy is an annotation feature of CONCEPT_ROOT.





--
This message was sent by Atlassian JIRA
(v6.1#6144)