You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2012/08/02 17:28:02 UTC
[jira] [Resolved] (STANBOL-713) Allow to load any kind of OpenNLP
Model with the OpenNLP service
[ https://issues.apache.org/jira/browse/STANBOL-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rupert Westenthaler resolved STANBOL-713.
-----------------------------------------
Resolution: Fixed
implemented with http://svn.apache.org/viewvc?rev=1368534&view=rev
> Allow to load any kind of OpenNLP Model with the OpenNLP service
> ----------------------------------------------------------------
>
> Key: STANBOL-713
> URL: https://issues.apache.org/jira/browse/STANBOL-713
> Project: Stanbol
> Issue Type: Improvement
> Components: Commons
> Reporter: Rupert Westenthaler
> Assignee: Rupert Westenthaler
> Priority: Minor
>
> Currently the OpenNLP service provides only Methods to load models following the default naming conventions of OpenNLP. (e.g. getSentenceModel(String langauge) would try to load the model with the name "{language}-sent.bin").
> This suggests to add an additional Method that allows to load any type of model from any file available via the DataFileProvider framework
> <T> T getModel(Class<T> modelType, String modelName, Map<String,String> properties)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira