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] [Created] (UIMA-2975) Include manual selection of anchoring rule element in Ruta language
Date Fri, 07 Jun 2013 18:10:20 GMT
Peter Klügl created UIMA-2975:
---------------------------------

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

Mime
View raw message