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

createReaderDescription does not discover type priorities

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0uimaFIT
    • 2.5.0uimaFIT, 3.1.0uimaFIT
    • uimaFIT
    • None

    Description

      createReaderDescription does not discover type priorities. This may cause the JCas to be incompletely initialised (i.e. without type priorities), e.g. when only such a reader is used in a JCasIterable. A workaround is to add a No-op analysis engine to the JCasIterable:

      JCasIterable pipeline = SimplePipeline.iteratePipeline(readerDescription, createEngineDescription(NoOpAnnotator.class));
      

      Attachments

        Issue Links

          Activity

            People

              rec Richard Eckart de Castilho
              rec Richard Eckart de Castilho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m