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/08/28 12:54:52 UTC

[jira] [Commented] (UIMA-3222) ruta: Is creating multiple annotations on the same token with MARKFAST desired behavior ?

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

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

Yes, it is intended. I hestitate to create another parameter for the action right now, because there are already so many. I will think of a good solution, but for now you could remove those annotations in another rule like {{MyType{PARTOFNEQ(MyType)->UNMARK(MyType)}}}.
                
> ruta: Is creating multiple annotations on the same token with MARKFAST desired behavior ?
> -----------------------------------------------------------------------------------------
>
>                 Key: UIMA-3222
>                 URL: https://issues.apache.org/jira/browse/UIMA-3222
>             Project: UIMA
>          Issue Type: Question
>          Components: ruta
>            Reporter: Georg Fette
>            Assignee: Peter Klügl
>            Priority: Minor
>
> When I use MARKFAST on the document
> "Donau-dampf-schiff"
> with the MARKFAST-list
> "Donau-dampf-schiff
> Donau
> Donau-dampf
> dampf-schiff
> dampf
> schiff"
> I get three annotations, namely "Donau-dampf-schiff", "dampf-schiff" and "schiff". This is kind of a strange result. It seems the result stems from iterating over alle token anchors of the document and checking the list for possible matches and only annotating each anchor only once.
> I would like the operator to annotate each token only once and not each anchor.
> Greetings
> Georg

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