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

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

The changes I committed implement the desired behavior only for the rule 
element itself. I think there should be a discussion on how the new 
functionality should be interpreted, or if both approaches need to be supported.

> Ruta: Add option for greedy anchoring
> -------------------------------------
>
>                 Key: UIMA-2768
>                 URL: https://issues.apache.org/jira/browse/UIMA-2768
>             Project: UIMA
>          Issue Type: New Feature
>          Components: ruta
>    Affects Versions: 2.0.0TextMarker
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>            Priority: Minor
>             Fix For: 2.1.1ruta
>
>
> Ignore the anchor for the start of a rule match if a previous match of this 
> same rule already covered that position.
> {noformat}
> CW{-> MARK(Type,1,2)} ANY+;
> {noformat}
> can be used instead of
> {noformat}
> CW{-PARTOF(Type) -> MARK(Type,1,2)} ANY+;
> {noformat}
> in order to get only one annotation. The user should be able to modify the 
> matching behavior similar to dynamic anchoring, e.g., activating the option 
> by an action.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to