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-2975) Include manual selection of anchoring rule element in Ruta language
Date Sun, 09 Jun 2013 15:28:19 GMT

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

Peter Klügl commented on UIMA-2975:

Manual selection is implemented with @, as in:

PERIOD # @LastToken;

There should be something in the documentation mentioning this new syntax/functionality.
> Include manual selection of anchoring rule element in Ruta language
> -------------------------------------------------------------------
>                 Key: UIMA-2975
>                 URL: https://issues.apache.org/jira/browse/UIMA-2975
>             Project: UIMA
>          Issue Type: New Feature
>          Components: ruta
>    Affects Versions: 2.0.2ruta
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>             Fix For: 2.0.2ruta
> It is sometime not very clever to activate dynamic anchoring in order to change the matching
behavior, because the selection of the anchoring rule elements depends on the elements in
the annoation index, and is therefore not predictable when the rules are written. I think
it is not achievable to ensure the same matching behavior independently from the current matching
direction, because of the greedyelements. If the user wants to take advantage of other matching
directions, then a manual selection of the anchoring rule elements would be a good solution.
We need to find a nice syntax for this extension. It could look like:
> {noformat}
> // match everthing from the last period to the last token...
> PERIOD # 'LastToken; // ' indicates the anchoring element
> {noformat}
> Here, the rule would start with the LastToken and then will search for the next PERIOD.

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

View raw message