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

        

Reply via email to