You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2014/01/02 13:02:55 UTC

[jira] [Commented] (OPENNLP-581) Add Pluggable Machine Learning support

    [ https://issues.apache.org/jira/browse/OPENNLP-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860161#comment-13860161 ] 

Joern Kottmann commented on OPENNLP-581:
----------------------------------------

This now works with the liblinear addon. It would be good to add support for other 3rd party libraries.

Classifiers who output a sequence are not yet supported.

> 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
>             Fix For: 1.6.0
>
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)