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/12/21 15:37:12 UTC

[jira] [Resolved] (UIMA-2339) TextMarker matching on parent types with additional removed grandchild

     [ https://issues.apache.org/jira/browse/UIMA-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl resolved UIMA-2339.
-------------------------------

    Resolution: Fixed

added fixVersion
                
> 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
>    Affects Versions: 2.0.0TextMarker
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>            Priority: Minor
>             Fix For: 2.0.0TextMarker
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira