Skip to content

scrapinghub/python-crfsuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 1, 2024
e81d4fa · Oct 1, 2024
Oct 1, 2024
Sep 1, 2017
Mar 14, 2020
Jun 22, 2016
Apr 9, 2016
Sep 30, 2024
Sep 30, 2024
Sep 27, 2024
Aug 24, 2017
Apr 13, 2014
Feb 1, 2023
Mar 24, 2017
Sep 2, 2017
Sep 27, 2024
Sep 30, 2024
Apr 30, 2014
Sep 30, 2024
Oct 3, 2023

Repository files navigation

python-crfsuite

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.