python-crfsuite 0.9.12


pip install python-crfsuite

  Latest version

Released: Dec 23, 2025

Project Links

Meta
Author: Terry Peng, Mikhail Korobov
Requires Python: >=3.10

Classifiers

Development Status
  • 4 - Beta

Intended Audience
  • Developers
  • Science/Research

License
  • OSI Approved :: MIT License

Programming Language
  • Cython
  • Python
  • Python :: 3
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14

Topic
  • Software Development
  • Software Development :: Libraries :: Python Modules
  • Scientific/Engineering
  • Scientific/Engineering :: Information Analysis
  • Text Processing :: Linguistic
https://github.com/scrapinghub/python-crfsuite/actions/workflows/tests.yml/badge.svg pypi Version conda Version

python-crfsuite is a python binding to CRFsuite.

Installation

Using pip:

pip install python-crfsuite

Using conda:

conda install -c conda-forge python-crfsuite

Usage

See docs and an example.

See Also

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

Contributing

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

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

Authors and Contributors

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

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

License

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

Alternatives

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.

Wheel compatibility matrix

Platform CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython 3.14 CPython (additional flags: t) 3.14
macosx_11_0_arm64
manylinux_2_24_aarch64
manylinux_2_24_x86_64
manylinux_2_28_aarch64
manylinux_2_28_x86_64
musllinux_1_2_aarch64
musllinux_1_2_x86_64
win32
win_amd64

Files in release

python_crfsuite-0.9.12-cp310-cp310-macosx_11_0_arm64.whl (312.1KiB)
python_crfsuite-0.9.12-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2MiB)
python_crfsuite-0.9.12-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2MiB)
python_crfsuite-0.9.12-cp310-cp310-musllinux_1_2_aarch64.whl (2.1MiB)
python_crfsuite-0.9.12-cp310-cp310-musllinux_1_2_x86_64.whl (2.2MiB)
python_crfsuite-0.9.12-cp310-cp310-win32.whl (276.4KiB)
python_crfsuite-0.9.12-cp310-cp310-win_amd64.whl (295.7KiB)
python_crfsuite-0.9.12-cp311-cp311-macosx_11_0_arm64.whl (311.8KiB)
python_crfsuite-0.9.12-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2MiB)
python_crfsuite-0.9.12-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2MiB)
python_crfsuite-0.9.12-cp311-cp311-musllinux_1_2_aarch64.whl (2.1MiB)
python_crfsuite-0.9.12-cp311-cp311-musllinux_1_2_x86_64.whl (2.2MiB)
python_crfsuite-0.9.12-cp311-cp311-win32.whl (276.3KiB)
python_crfsuite-0.9.12-cp311-cp311-win_amd64.whl (296.2KiB)
python_crfsuite-0.9.12-cp312-cp312-macosx_11_0_arm64.whl (311.9KiB)
python_crfsuite-0.9.12-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2MiB)
python_crfsuite-0.9.12-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2MiB)
python_crfsuite-0.9.12-cp312-cp312-musllinux_1_2_aarch64.whl (2.1MiB)
python_crfsuite-0.9.12-cp312-cp312-musllinux_1_2_x86_64.whl (2.2MiB)
python_crfsuite-0.9.12-cp312-cp312-win32.whl (275.6KiB)
python_crfsuite-0.9.12-cp312-cp312-win_amd64.whl (296.0KiB)
python_crfsuite-0.9.12-cp313-cp313-macosx_11_0_arm64.whl (311.4KiB)
python_crfsuite-0.9.12-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2MiB)
python_crfsuite-0.9.12-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2MiB)
python_crfsuite-0.9.12-cp313-cp313-musllinux_1_2_aarch64.whl (2.1MiB)
python_crfsuite-0.9.12-cp313-cp313-musllinux_1_2_x86_64.whl (2.2MiB)
python_crfsuite-0.9.12-cp313-cp313-win32.whl (275.5KiB)
python_crfsuite-0.9.12-cp313-cp313-win_amd64.whl (296.0KiB)
python_crfsuite-0.9.12-cp314-cp314-macosx_11_0_arm64.whl (316.6KiB)
python_crfsuite-0.9.12-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.1MiB)
python_crfsuite-0.9.12-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2MiB)
python_crfsuite-0.9.12-cp314-cp314-musllinux_1_2_aarch64.whl (2.1MiB)
python_crfsuite-0.9.12-cp314-cp314-musllinux_1_2_x86_64.whl (2.2MiB)
python_crfsuite-0.9.12-cp314-cp314-win32.whl (281.7KiB)
python_crfsuite-0.9.12-cp314-cp314-win_amd64.whl (302.6KiB)
python_crfsuite-0.9.12-cp314-cp314t-macosx_11_0_arm64.whl (322.9KiB)
python_crfsuite-0.9.12-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (1.2MiB)
python_crfsuite-0.9.12-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.2MiB)
python_crfsuite-0.9.12-cp314-cp314t-musllinux_1_2_aarch64.whl (2.1MiB)
python_crfsuite-0.9.12-cp314-cp314t-musllinux_1_2_x86_64.whl (2.2MiB)
python_crfsuite-0.9.12-cp314-cp314t-win32.whl (294.6KiB)
python_crfsuite-0.9.12-cp314-cp314t-win_amd64.whl (319.2KiB)
python_crfsuite-0.9.12.tar.gz (476.9KiB)
Extras:
Dependencies: