You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Ar...@bka.bund.de on 2012/05/15 13:04:10 UTC

uimaFIT 1.3.1 - AnalysisEngineFactory.setConfigurationParameters deprecated

Hi,

Since version 1.3.1 of uimaFIT
org.uimafit.factory.AnalysisEngineFactory.setConfigurationParameters is
marked as deprecated. What should I use instead?

Regards,

Armin

Re: AW: uimaFIT 1.3.1 - AnalysisEngineFactory.setConfigurationParameters deprecated

Posted by Richard Eckart de Castilho <ec...@ukp.informatik.tu-darmstadt.de>.
Hello Armin,

> Thank you. I missed it in the attached JavaDoc because I've only read http://uimafit.googlecode.com/svn/tags/uimafit-parent-1.3.1/apidocs/index.html. It's not in there.

Thanks for pointing that out. Looks like there is a typo in the JavaDoc comment "@Deprecated" vs "@deprecated". Shall be fixed.

Best,

-- Richard

-- 
------------------------------------------------------------------- 
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab (UKP-TUD) 
FB 20 Computer Science Department      
Technische Universität Darmstadt 
Hochschulstr. 10, D-64289 Darmstadt, Germany 
phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117
eckart@ukp.informatik.tu-darmstadt.de 
www.ukp.tu-darmstadt.de 
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
------------------------------------------------------------------- 







AW: uimaFIT 1.3.1 - AnalysisEngineFactory.setConfigurationParameters deprecated

Posted by Ar...@bka.bund.de.
Hello Richard,

Thank you. I missed it in the attached JavaDoc because I've only read http://uimafit.googlecode.com/svn/tags/uimafit-parent-1.3.1/apidocs/index.html. It's not in there.

Regards,

Armin

-----Ursprüngliche Nachricht-----
Von: Richard Eckart de Castilho [mailto:eckart@ukp.informatik.tu-darmstadt.de] 
Gesendet: Dienstag, 15. Mai 2012 21:06
An: <us...@uima.apache.org>
Betreff: Re: uimaFIT 1.3.1 - AnalysisEngineFactory.setConfigurationParameters deprecated

Hello Armin,

> Since version 1.3.1 of uimaFIT
> org.uimafit.factory.AnalysisEngineFactory.setConfigurationParameters 
> is marked as deprecated. What should I use instead?

The method has been moved to ResourceCreationSpecifierFactory since it is not specific to analysis engines. I can see a corresponding JavaDoc comment in the sources. If you use Maven, it should automatically deliver you the sources/JavaDoc and provide such information. If you do not use Maven, you can download the JavaDoc JAR from Maven Central and attach it manually to the uimaFIT JAR in your Eclipse to get access to the JavaDoc.

Cheers,

-- Richard

--
-------------------------------------------------------------------
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab (UKP-TUD) 
FB 20 Computer Science Department      
Technische Universität Darmstadt
Hochschulstr. 10, D-64289 Darmstadt, Germany phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117 eckart@ukp.informatik.tu-darmstadt.de
www.ukp.tu-darmstadt.de
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
------------------------------------------------------------------- 








Re: uimaFIT 1.3.1 - AnalysisEngineFactory.setConfigurationParameters deprecated

Posted by Richard Eckart de Castilho <ec...@ukp.informatik.tu-darmstadt.de>.
Hello Armin,

> Since version 1.3.1 of uimaFIT
> org.uimafit.factory.AnalysisEngineFactory.setConfigurationParameters is
> marked as deprecated. What should I use instead?

The method has been moved to ResourceCreationSpecifierFactory since it is not specific to analysis engines. I can see a corresponding JavaDoc comment in the sources. If you use Maven, it should automatically deliver you the sources/JavaDoc and provide such information. If you do not use Maven, you can download the JavaDoc JAR from Maven Central and attach it manually to the uimaFIT JAR in your Eclipse to get access to the JavaDoc.

Cheers,

-- Richard

-- 
------------------------------------------------------------------- 
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab (UKP-TUD) 
FB 20 Computer Science Department      
Technische Universität Darmstadt 
Hochschulstr. 10, D-64289 Darmstadt, Germany 
phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117
eckart@ukp.informatik.tu-darmstadt.de 
www.ukp.tu-darmstadt.de 
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
-------------------------------------------------------------------