[ https://issues.apache.org/jira/browse/OPENNLP-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13772977#comment-13772977 ]
William Colen commented on OPENNLP-581: --------------------------------------- I changed references from AbstractModel to MaxentModel. Can you please check it? > Add Pluggable Machine Learning support > -------------------------------------- > > Key: OPENNLP-581 > URL: https://issues.apache.org/jira/browse/OPENNLP-581 > Project: OpenNLP > Issue Type: Improvement > Reporter: Joern Kottmann > Assignee: William Colen > > The OpenNLP Tools can currently only use the classifiers inside the Maxent > library. It should be possible to plugin 3rd party machine learning libraries > which can be integrated as seamlessly as the Maxent library. > To achieve this two these tasks need to be solved: > - Define a MachineLearningFactory which is capable of instantiating a Trainer > and Classifer based on a given parameter properties file. The Algorithm name > could be the name of the factory to use. Additional the code in OpenNLP Tools > need to be refactored to use the factory interface instead of the TrainUtil. > > - Refactor the OpenNLP Tools to use an interface instead of the AbstractModel > the interface can be identical to the current MaxentModel with additional > support for serialization. > - To avoid an interface layer between OpenNLP Tools and Maxent the maxent > classes should be moved to opennlp.tools.ml. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira