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 2012/07/27 15:14:33 UTC

[jira] [Created] (UIMA-2445) Disjunctive matching in TextMarker creates to many matching alternatives

Peter Klügl created UIMA-2445:
---------------------------------

             Summary: Disjunctive matching in TextMarker creates to many matching alternatives
                 Key: UIMA-2445
                 URL: https://issues.apache.org/jira/browse/UIMA-2445
             Project: UIMA
          Issue Type: Bug
            Reporter: Peter Klügl
            Assignee: Peter Klügl


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

       

[jira] [Closed] (UIMA-2445) Disjunctive matching in TextMarker creates too many alternatives

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl closed UIMA-2445.
-----------------------------

    Resolution: Fixed

fixed, thanks to Rinat
                
> 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

       

[jira] [Updated] (UIMA-2445) Disjunctive matching in TextMarker creates to many matching alternatives

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl updated UIMA-2445:
------------------------------

    Component/s: TextMarker
    
> Disjunctive matching in TextMarker creates to many matching 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
>
> 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

       

[jira] [Updated] (UIMA-2445) Disjunctive matching in TextMarker creates too many alternatives

Posted by "Rinat Gareyev (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rinat Gareyev updated UIMA-2445:
--------------------------------

    Attachment: TextMarkerTypeMatcher.java.patch
    
> 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

       

[jira] [Updated] (UIMA-2445) Disjunctive matching in TextMarker creates too many alternatives

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl updated UIMA-2445:
------------------------------

    Summary: Disjunctive matching in TextMarker creates too many alternatives  (was: Disjunctive matching in TextMarker creates to many matching alternatives)
    
> 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
>
> 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

       

[jira] [Commented] (UIMA-2445) Disjunctive matching in TextMarker creates too many alternatives

Posted by "Rinat Gareyev (JIRA)" <de...@uima.apache.org>.
    [ 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