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

Joern Kottmann commented on OPENNLP-338:
----------------------------------------

The trainer.params file has these two lines:
Algorithm=MAXENT_QN
Cutoff=0

You can train like this:
bin/opennlp TokenNameFinderTrainer -lang nl -data ./nl-per.train -params 
trainer.params -model qn-test.bin

And the evaluation can be started with this command:
bin/opennlp TokenNameFinderEvaluator -model qn-test.bin -data nl-per.testa 
-lang nl

To start the bin/opennlp script just go to the checked out opennlp-tools 
folder. Prior doing that you should re-compile the maxent module.

The attached CONLL02 files can only be used for research and therefore 
incompatible with the AL license.

                
> Add L-BFGS parameter estimation training to maxent
> --------------------------------------------------
>
>                 Key: OPENNLP-338
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-338
>             Project: OpenNLP
>          Issue Type: New Feature
>          Components: Maxent
>            Reporter: Joern Kottmann
>            Assignee: Hyosup Shim
>             Fix For: tools-1.5.3
>
>         Attachments: patch20120814-lbfgs.txt, patch-lbfgs.txt
>
>
> Add support for the L-BFGS algorithm to train a maxent classifier.

--
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