Learning :
crf_learn template_file train_file model_file
crf_learn -f 2 template_file train_file model_file # -f NUM : threshould for the feature
crf learn -a MIRA template_file train_file model_file # -a MIRA : learn with MIRA
crf_learn -c 1.5 template_file train_file model_file # -c float : balance between overfitting and underfitting
Test:
crf_test -m model_file test_file
crf_test -n 20 -m model_file test_file # -n NUM : N-best results
crf_learn template_file train_file model_file
crf_learn -f 2 template_file train_file model_file # -f NUM : threshould for the feature
crf learn -a MIRA template_file train_file model_file # -a MIRA : learn with MIRA
crf_learn -c 1.5 template_file train_file model_file # -c float : balance between overfitting and underfitting
Test:
crf_test -m model_file test_file
crf_test -n 20 -m model_file test_file # -n NUM : N-best results