Hi All,

 

I want to be able to change the configuration parameters
programmatically before the analysis engine is run and I am wondering
where in the creation and running of the AE is the best place to do
this.

 

Will the following work?

 

AnalysisEngine ae = UIMAFramework.produceAnalysisEngine(specifier);

ae.setConfigParameterValue("URI",http://yahoo.com);

...

...Place ae in CPM

...

Cpm.process();



 

thanks

_______________

Girish Chavan, MSIS

Department of Biomedical Informatics (DBMI)
University of Pittsburgh
UPMC Cancer Pavilion, 302D
5150 Centre Avenue
Pittsburgh, PA  15232

Office: 412-623-4084

Email: [email protected]

 

Reply via email to