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 16:45:03 UTC
[jira] [Created] (STANBOL-713) Allow to load any kind of OpenNLP
Model with the OpenNLP service
Rupert Westenthaler created STANBOL-713:
-------------------------------------------
Summary: 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
[jira] [Resolved] (STANBOL-713) Allow to load any kind of OpenNLP
Model with the OpenNLP service
Posted by "Rupert Westenthaler (JIRA)" <ji...@apache.org>.
[ 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