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

Conflicting types are not flagged by RUTA

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0ruta
    • Fix Version/s: 2.2.0ruta
    • Component/s: Ruta
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: