crf++

Conditional random fields tool for sequence labeling and segmentation

brewmacoslinux
Try with needOr install directly
Source

About

Conditional random fields for segmenting/labeling sequential data

Commands

crf_learncrf_test

Examples

Train a CRF model on labeled training data$ crf_learn -c 1.0 template_file train.txt model.bin
Test the trained model on new data and output predictions$ crf_test -m model.bin test.txt > predictions.txt
Train with custom parameters for regularization$ crf_learn -c 0.5 -f 2 -p template_file train.txt model.bin