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

Conflicting types are not flagged by RUTA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0ruta
    • 2.2.0ruta
    • Ruta
    • None

    Description

      Steps to reproduce

      1. Create a RUTA script containing the rule W {-> T1}
      2. Add this script to an aggregate whose type system contains conflicting.W
      3. Run the script on the text word

      Expected behaviour

      word is annotated with T1

      Observed behaviour

      Depending on the on the order in which the types iterated on in RutaEnvironment#initializeTypes, one of the following is observed:

      • W is resolved to org.apache.uima.ruta.type.W and word is annotated with T1
      • W is resolved to conflicting.W and no T1 annotation is created.

      Attachments

        Activity

          People

            apatry Alexandre Patry
            apatry Alexandre Patry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: