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] [Commented] (UIMA-2758) TextMarker: Provide support for tree structures and parse trees in rule language
Date Sat, 11 May 2013 12:51:15 GMT

    [ https://issues.apache.org/jira/browse/UIMA-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655241#comment-13655241
] 

Peter Klügl commented on UIMA-2758:
-----------------------------------

A short update:

Annoyingly, I see no way how type references with the complete namespace and feature references
can be distinguished in the grammar without having access to the list of available types.
Please correct me if I am wrong, but I fear that the types of an AE cannot be computed in
the initialize method (where the script should be parsed once, normally). 

I will resolve the semantics of the matching conditions now during runtime, something I was
trying to avoid...
                
> TextMarker: Provide support for tree structures and parse trees in rule language
> --------------------------------------------------------------------------------
>
>                 Key: UIMA-2758
>                 URL: https://issues.apache.org/jira/browse/UIMA-2758
>             Project: UIMA
>          Issue Type: New Feature
>          Components: ruta
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>
> Manipulation of features which refer to annotations and matching on simple features is
currently supported, but matching on the complex values of some feature is not. A first step
can be something like (Type Person with feature "title" of type Annotation):
> Person.title;
> This rule matches on all annotations, which are values of features of annotations of
the type Person.
> This new language element can also be used for syntactic sugar when checking primitive
feature values:
> Person.begin=0 (A Person annotation, which starts a offset 0)
> This can only be a first step towards supporting tree structures. Maybe there is no way
around something for explicitly and directly referring to certain annotations (which is not
possible right now, but is done by using the type).

--
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

Mime
View raw message