[
https://issues.apache.org/jira/browse/UIMA-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Klügl resolved UIMA-2975.
-------------------------------
Resolution: Fixed
done
> 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