You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Andrea Grandjean (JIRA)" <de...@uima.apache.org> on 2018/07/27 08:48:00 UTC

[jira] [Created] (UIMA-5850) Ruta: CONTAINS counts overlapping annotations

Andrea Grandjean created UIMA-5850:
--------------------------------------

             Summary: Ruta: CONTAINS counts overlapping annotations
                 Key: UIMA-5850
                 URL: https://issues.apache.org/jira/browse/UIMA-5850
             Project: UIMA
          Issue Type: Bug
          Components: Ruta
    Affects Versions: 2.6.1ruta
            Reporter: Andrea Grandjean


In the following example, the CONTAINS condition counts also overlapping Unit-annotations:

*200mg/25mg*

with Unit-annotations on both "mg" snippets and on "mg/25mg".
If you block on the two measurements around the slash, i.e. on "200mg" and on "25mg", the CONTAINS(Unit) condition returns 2 units in the case of "200mg" and 1 unit in the case of "25mg".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)