[
https://issues.apache.org/jira/browse/UIMA-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13841094#comment-13841094
]
Peter Klügl commented on UIMA-3483:
-----------------------------------
This became a bigger issue since I had to introduce interfaces for the
expressions. The code for extensions needs to be adapted in most cases.
> 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
> Assignee: Peter Klügl
>
> 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)