Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2339

TextMarker matching on parent types with additional removed grandchild

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0TextMarker
    • 2.0.0TextMarker
    • Ruta
    • None

    Description

      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.

      Attachments

        Activity

          People

            pkluegl Peter Klügl
            pkluegl Peter Klügl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: