Skip to main content

Python binding for CRFsuite

Project description pypi Version conda Version

python-crfsuite is a python binding to CRFsuite.


Using pip:

pip install python-crfsuite

Using conda:

conda install -c conda-forge python-crfsuite


See docs and an example.

See Also

sklearn-crfsuite is a python-crfsuite wrapper which provides API similar to scikit-learn.


Feel free to submit ideas, bugs reports, pull requests or regular patches.

In order to run tests, install Cython (> 0.24.1) and tox, then type

./; tox

from the source checkout.

Please don’t commit generated cpp files in the same commit as other files.

Authors and Contributors

Original authors are Terry Peng <> and Mikhail Korobov <>. Many other people contributed; some of them can be found at github Contributors page.

Bundled CRFSuite C/C++ library is by Naoaki Okazaki & contributors.


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


This package (python-crfsuite) wraps CRFsuite C++ API using Cython. It is faster than official SWIG wrapper and has a simpler codebase than a more advanced pyCRFsuite. python-crfsuite works in Python 2 and Python 3, doesn’t have external dependencies (CRFsuite is bundled, numpy/scipy stack is not needed) and workarounds some of the issues with C++ CRFsuite library.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-crfsuite-0.9.9.tar.gz (440.8 kB view hashes)

Uploaded source

Built Distributions

python_crfsuite-0.9.9-cp310-cp310-win32.whl (118.9 kB view hashes)

Uploaded cp310

python_crfsuite-0.9.9-cp39-cp39-win32.whl (118.7 kB view hashes)

Uploaded cp39

python_crfsuite-0.9.9-cp38-cp38-win32.whl (118.5 kB view hashes)

Uploaded cp38

python_crfsuite-0.9.9-cp37-cp37m-win32.whl (116.9 kB view hashes)

Uploaded cp37

python_crfsuite-0.9.9-cp36-cp36m-win32.whl (129.7 kB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page