python-crfsuite is a python binding to CRFsuite.


pip install python-crfuite


python-crfsuite is licensed under MIT license. CRFsuite C/C++ library is licensed under BSD license.

Development happens at github:

Indices and tables


0.4 (2014-05-16)

  • (backwards-incompatible) training parameters are now passed using params argument of pycrfsuite.Trainer constructor instead of **kwargs;
  • (backwards-incompatible) logging support is dropped;
  • verbose argument for pycrfsuite.Trainer constructor;
  • pycrfsuite.Trainer.get_params() and pycrfsuite.Trainer.set_params() for getting/setting multiple training parameters at once;
  • string handling in Python 3.x is fixed by rebuilding the wrapper with Cython 0.21dev;
  • algorithm names are normalized to support names used by crfsuite console utility and documented in crfsuite manual;
  • type conversion for training parameters is fixed: feature.minfreq now works, and boolean arguments become boolean.

0.3 (2014-05-14)

python-crfsuite now detects the featue format (dict vs list of strings) automatically - it turns out the performance overhead is negligible.

0.2 (2014-05-14)

0.1 (2014-04-30)

Many changes; python-crfsuite is almost rewritten.

0.0.1 (2014-04-24)

Initial release.