You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2020/03/20 22:30:00 UTC

[jira] [Created] (UIMA-6204) createReaderDescription does not discover type priorities

Richard Eckart de Castilho created UIMA-6204:
------------------------------------------------

             Summary: createReaderDescription does not discover type priorities
                 Key: UIMA-6204
                 URL: https://issues.apache.org/jira/browse/UIMA-6204
             Project: UIMA
          Issue Type: Bug
          Components: uimaFIT
    Affects Versions: 2.4.0uimaFIT
            Reporter: Richard Eckart de Castilho
             Fix For: 2.5.0uimaFIT


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:

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)