uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Schlamp (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Created: (UIMA-1318) Allow to add an AnalysisEngineDescription to a CpeDescription
Date Tue, 07 Apr 2009 15:05:13 GMT
Allow to add an AnalysisEngineDescription to a CpeDescription

                 Key: UIMA-1318
                 URL: https://issues.apache.org/jira/browse/UIMA-1318
             Project: UIMA
          Issue Type: Improvement
    Affects Versions: 2.2.2
            Reporter: Kai Schlamp

This would allow to build up an AnalysisEngineDesription programmatically (and so only in
memory present) and use that directly in a CPE (without creating a temporary descriptor file
of that description and provide that for the CPE).
I propose methods like
CpeComponentDescriptor.setResourceSpecifier(ResourceSpecifier rs);

Then a an example for using it would look like this:

AnalysisEngineDescription aeDescr = ResourceSpecifierFactory.createAnalysisEngineDescription();
// Setup aeDescr programmatically
CpeCasProcessor cpeProc = CpeDescriptorFactory.produceCasProcessor("CAS Proc 1");
CPEComponentDescriptor compDescr = CpeDescriptorFactory.produceComponentDescriptor("");

Analog for Consumer and CollectionReader.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message