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

JCas cover annotation created in PEAR context replaced during index operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0SDK
    • 3.3.0SDK
    • Core Java Framework, Ruta
    • None
    • Environment:

      • SO: macOS 10.14.6
      • AdoptOpenJDK 1.8.0_252-b09
      • uimaj-core 3.2.0
      • ruta-core 3.1.0

    Description

      Initial title: MARKFAST don't work when a Ruta 3 script runs in an AAE inside a PEAR context

      When an AAE runs in a PEAR context, and the first analysis engine is a Ruta script with MARFAST (or MARKTABLE) actions, those actions don't work (same situation after a CAS multiplier).

      The problem seems to be coming from RutaStream#moveToFirst when it's called from TreeWordList.find; in that case, the underlying iterator is not properly reset. It may be something related with the RutaStream "bootstrapping"... I don't know

      If a new Ruta script (for instance, an empty script) is placed before the "problematic" one, the problem with those MARKFAST/TABLE actions goes away. 

      Example here: https://github.com/benisantos/ruta3-markfast-pear-bug

      Note: with UIMA/Ruta 2.x this problem doesn't exist at all.

       

      Attachments

        Activity

          People

            pkluegl Peter Klügl
            benisantos Beni Santos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: