[
https://issues.apache.org/jira/browse/UIMA-3376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806940#comment-13806940
]
Peter Klügl commented on UIMA-3376:
-----------------------------------
The trunk contains now an early version of the functionality. You can active it
with the parameter {{greedyAnchoring}} or with the action {{Document{->
GREEDYANCHORING(true)};}}.
I am not sure yet what the desired functionality should be and if the situation
described in UIMA-2768 should also be implemented. There are some quite
complicated matches like {{(ANY @(W+ NUM)+)+;}}.
I am open for opinions :-)
> Ruta: Add option for Greedy Quantifier
> --------------------------------------
>
> Key: UIMA-3376
> URL: https://issues.apache.org/jira/browse/UIMA-3376
> Project: UIMA
> Issue Type: Improvement
> Components: ruta
> Reporter: Olga Patterson
> Labels: features
>
> Plus Greedy quantifier matches one or more annotations of the same type. A
> better functionality would be to produce only one annotation with the largest
> number of annotations matched.
> So that in the example bellow, only one annotation is produced:
> Input: 123 456 small small small Big
> Rule: SW+
> Matched: small small small
--
This message was sent by Atlassian JIRA
(v6.1#6144)