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

Ruta: window restriction in block broken

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0ruta
    • 3.0.0ruta, 2.8.0ruta
    • Ruta
    • None

    Description

      STRING s;
      BOOLEAN a ;
      
      // This is not working:
      BLOCK(forEACH1) Lemma{} { // Matches a lot
           Lemma{->MATCHEDTEXT(s), ASSIGN(a,contains(s,"er"))}; // Matches 0
           Lemma{a ->Test1};
      }
      
      // This is not working:
      BLOCK(forEACH2) Lemma{} { // Matches a lot
      Lemma{contains(Lemma.ct, "er") -> MARK(Test2)}; // Matches 0
      }
      
      // This is working:
      Lemma{contains(Lemma.ct, "er") -> MARK(Test3)}; // Matches 1
      
      // This is working:
      BLOCK(forEACH4) Lemma{}{
           W{->MATCHEDTEXT(s), ASSIGN(a,contains(s,"er"))}; // Matches 1
           W{a ->Test4};
      }
      
      // This is also working:
      BLOCK(forEACH5) Lemma{}{
          Document{->MATCHEDTEXT(s), ASSIGN(a,contains(s,"er"))}; // Matches 1
          Document{a ->Test5};
      } 
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment