You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2013/06/07 20:10:20 UTC
[jira] [Created] (UIMA-2975) Include manual selection of anchoring
rule element in Ruta language
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