Skip to main content

Python binding for CRFsuite

Project description

https://github.com/scrapinghub/python-crfsuite/actions/workflows/tests.yml/badge.svg?branch=master https://ci.appveyor.com/api/projects/status/uaq4sw8tc0oojr4v?svg=true 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.

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

./update_cpp.sh; 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 <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.

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.8.tar.gz (440.1 kB view hashes)

Uploaded source

Built Distributions

python_crfsuite-0.9.8-py3.8-win-amd64.egg (152.8 kB view hashes)

Uploaded 0 9 8

python_crfsuite-0.9.8-py3.8-win32.egg (128.2 kB view hashes)

Uploaded 0 9 8

python_crfsuite-0.9.8-py3.7-win-amd64.egg (150.6 kB view hashes)

Uploaded 0 9 8

python_crfsuite-0.9.8-py3.7-win32.egg (125.8 kB view hashes)

Uploaded 0 9 8

python_crfsuite-0.9.8-py3.6-win-amd64.egg (150.4 kB view hashes)

Uploaded 0 9 8

python_crfsuite-0.9.8-py3.6-win32.egg (125.9 kB view hashes)

Uploaded 0 9 8

python_crfsuite-0.9.8-py2.7-win-amd64.egg (140.9 kB view hashes)

Uploaded 2 7

python_crfsuite-0.9.8-py2.7-win32.egg (112.9 kB view hashes)

Uploaded 2 7

python_crfsuite-0.9.8-cp310-cp310-win_amd64.whl (158.9 kB view hashes)

Uploaded cp310

python_crfsuite-0.9.8-cp310-cp310-win32.whl (132.3 kB view hashes)

Uploaded cp310

python_crfsuite-0.9.8-cp39-cp39-win_amd64.whl (158.6 kB view hashes)

Uploaded cp39

python_crfsuite-0.9.8-cp39-cp39-win32.whl (132.2 kB view hashes)

Uploaded cp39

python_crfsuite-0.9.8-cp38-cp38-win_amd64.whl (152.5 kB view hashes)

Uploaded cp38

python_crfsuite-0.9.8-cp38-cp38-win32.whl (128.0 kB view hashes)

Uploaded cp38

python_crfsuite-0.9.8-cp37-cp37m-win32.whl (125.6 kB view hashes)

Uploaded cp37

python_crfsuite-0.9.8-cp36-cp36m-win32.whl (125.6 kB view hashes)

Uploaded cp36

python_crfsuite-0.9.8-cp27-cp27m-win32.whl (112.7 kB view hashes)

Uploaded cp27

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page