TextMarker matching on parent types with additional removed grandchild 
-----------------------------------------------------------------------

                 Key: UIMA-2339
                 URL: https://issues.apache.org/jira/browse/UIMA-2339
             Project: UIMA
          Issue Type: Bug
          Components: TextMarker
            Reporter: Peter Klügl
            Assignee: Peter Klügl
            Priority: Minor


Matching on parent types with additional removed grandchilds works only for 
annotations that weren't covered by the grandchilds.

Example:
DECLARE WeightedItem TreeNode, TreeLeaf;
DECLARE TreeNode CurrentRoot;

... some MARK(TreeNode) and MARK(TreeLeaf)
... some MARK(CurrentNode) additionally on TreeNodes
... some UNMARK(CurrentNode)

then...

WeightedItem matches only on FSs that weren't covered by the CurrentNode.

Solution:

Match explicitly on the leaf types TreeNode and TreeLeaf instead of 
WeightedItem.

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


Reply via email to