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] [Commented] (UIMA-3376) Ruta: Add option for Greedy Quantifier
Date Fri, 25 Oct 2013 08:45:30 GMT

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

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

I just wanted to mention that you can of course get the desired functionality right now. The
improvement would essentially syntactic sugar.

For only one annotation, you would write right now something like {{W+{-PARTOF(Ws) -> Ws};}}

> 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)

Mime
View raw message