uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rinat Gareyev (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-2445) Disjunctive matching in TextMarker creates too many alternatives
Date Thu, 02 Aug 2012 09:31:02 GMT

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

Rinat Gareyev commented on UIMA-2445:
-------------------------------------

I've attached the patch which seems to resolve this issue. RuleInferenceTest passes.  Anyway
it fixes some 'strange' Types retrieving logic which results in duplicate annotations returned
by the methods 'getAnnotationsBefore' and 'getAnnotationsAfter'.
                
> Disjunctive matching in TextMarker creates too many alternatives
> ----------------------------------------------------------------
>
>                 Key: UIMA-2445
>                 URL: https://issues.apache.org/jira/browse/UIMA-2445
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>         Attachments: TextMarkerTypeMatcher.java.patch
>
>
> Disjunctive matching in TextMarker creates to many matching alternatives. Example:
> Input: Cat and Dog
> Rule: (CW | SW)+{-> MARK(T)};
> This creates seven matches, but should only apply three times.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message