Am 08.05.2013 um 17:05 schrieb harshal patni <[email protected]>:

> Hi Richard,
>                 Thanks a lot. That helped! I replaced the following
> function -
> 
> AnalysisEngineFactory.createAnalysisEngineFromPath(
> "desc/AggregateAnalysisEngine.xml");
> 
> Now this produces an AnalysisEngine. How do I convert from AnalysisEngine
> to AnalysisEngineDescription. SimplePipeline.runPipeline only takes
> AnalysisEngineDescription.
> 
> 
> Also I would like to get an annotated XML as an output. How would I do that?

That's currently a "hole" in the uimaFIT API. You can resort to plain UIMA 
for loading descriptors, as you did initially.

See also 
http://mail-archives.apache.org/mod_mbox/uima-user/201304.mbox/%[email protected]%3e

I'll add some convenience here for uimaFIT 2.0.0

 https://issues.apache.org/jira/browse/UIMA-2885

Cheers,

-- Richard

Reply via email to