CrfSuite additional parameters.

30 views
Skip to first unread message

dom...@ambiverse.com

unread,
Jun 8, 2016, 9:25:08 AM6/8/16
to dkpro-tc-users
Hi,

Is it possible to add additional arguments to crfsuite besides the choice algorithm? For example I can execute on command line:

$ crfsuite learn -m CRF.model -a lbfgs -p c2=1 train.txt

But the class org.dkpro.tc.crfsuite.CRFSuiteAdapter only allows me to choose the algorithm for training (the "-a" argument).


Thanks,
Dominic

tobias....@gmail.com

unread,
Jun 15, 2016, 11:01:24 AM6/15/16
to dkpro-tc-users, dom...@ambiverse.com
I will have a look into it. If it is not too much effort I will add them. Which one do you need? Just the -p switch?

Richard Eckart de Castilho

unread,
Jun 15, 2016, 11:07:10 AM6/15/16
to tobias....@gmail.com, dkpro-tc-users, dom...@ambiverse.com
On 15.06.2016, at 17:01, tobias....@gmail.com wrote:
>
> I will have a look into it. If it is not too much effort I will add them. Which one do you need? Just the -p switch?

Probably would be a good idea to allow specifying arbitrary command line parameters. I dimly remember ClearTK allowed such a thing.

Cheers,

-- Richard

Dominic Seyler

unread,
Jun 15, 2016, 11:11:47 AM6/15/16
to dkpro-t...@googlegroups.com
I have already made the changes for adding arbitrary command line
parameters. It was just some lines of code.

Best,
Dominic
CRFSuiteTestTask.java
CRFSuiteModelSerializationDescription.java

Richard Eckart de Castilho

unread,
Jun 15, 2016, 11:13:25 AM6/15/16
to Dominic Seyler, dkpro-t...@googlegroups.com
For a contribution, best create a pull request (which preserves provenance information more comfortably).

Please observe the DKPro contributor guidelines:

http://dkpro.github.io/contributing/

Best,

-- Richard

tobias....@gmail.com

unread,
Jun 15, 2016, 1:21:11 PM6/15/16
to dkpro-tc-users, dom...@ambiverse.com
Agreed - please make a pull request I merge your changes then
Reply all
Reply to author
Forward
0 new messages