Skip to main content

Python binding for CRFsuite

Project description

https://travis-ci.org/scrapinghub/python-crfsuite.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.

Filename, size & hash SHA256 hash help File type Python version Upload date
python_crfsuite-0.9.6-cp27-cp27m-macosx_10_13_x86_64.whl (186.5 kB) Copy SHA256 hash SHA256 Wheel cp27
python_crfsuite-0.9.6-cp27-cp27m-manylinux1_i686.whl (659.0 kB) Copy SHA256 hash SHA256 Wheel cp27
python_crfsuite-0.9.6-cp27-cp27m-manylinux1_x86_64.whl (702.9 kB) Copy SHA256 hash SHA256 Wheel cp27
python_crfsuite-0.9.6-cp27-cp27mu-manylinux1_i686.whl (659.0 kB) Copy SHA256 hash SHA256 Wheel cp27
python_crfsuite-0.9.6-cp27-cp27mu-manylinux1_x86_64.whl (702.9 kB) Copy SHA256 hash SHA256 Wheel cp27
python_crfsuite-0.9.6-cp27-cp27m-win32.whl (117.4 kB) Copy SHA256 hash SHA256 Wheel cp27
python_crfsuite-0.9.6-cp27-cp27m-win_amd64.whl (147.2 kB) Copy SHA256 hash SHA256 Wheel cp27
python_crfsuite-0.9.6-cp34-cp34m-macosx_10_13_x86_64.whl (188.4 kB) Copy SHA256 hash SHA256 Wheel cp34
python_crfsuite-0.9.6-cp34-cp34m-manylinux1_i686.whl (700.9 kB) Copy SHA256 hash SHA256 Wheel cp34
python_crfsuite-0.9.6-cp34-cp34m-manylinux1_x86_64.whl (747.2 kB) Copy SHA256 hash SHA256 Wheel cp34
python_crfsuite-0.9.6-cp34-cp34m-win32.whl (120.7 kB) Copy SHA256 hash SHA256 Wheel cp34
python_crfsuite-0.9.6-cp34-cp34m-win_amd64.whl (148.1 kB) Copy SHA256 hash SHA256 Wheel cp34
python_crfsuite-0.9.6-cp35-cp35m-macosx_10_13_x86_64.whl (187.2 kB) Copy SHA256 hash SHA256 Wheel cp35
python_crfsuite-0.9.6-cp35-cp35m-manylinux1_i686.whl (694.7 kB) Copy SHA256 hash SHA256 Wheel cp35
python_crfsuite-0.9.6-cp35-cp35m-manylinux1_x86_64.whl (739.8 kB) Copy SHA256 hash SHA256 Wheel cp35
python_crfsuite-0.9.6-cp35-cp35m-win32.whl (126.0 kB) Copy SHA256 hash SHA256 Wheel cp35
python_crfsuite-0.9.6-cp35-cp35m-win_amd64.whl (152.8 kB) Copy SHA256 hash SHA256 Wheel cp35
python_crfsuite-0.9.6-cp36-cp36m-macosx_10_13_x86_64.whl (192.3 kB) Copy SHA256 hash SHA256 Wheel cp36
python_crfsuite-0.9.6-cp36-cp36m-manylinux1_i686.whl (707.2 kB) Copy SHA256 hash SHA256 Wheel cp36
python_crfsuite-0.9.6-cp36-cp36m-manylinux1_x86_64.whl (754.1 kB) Copy SHA256 hash SHA256 Wheel cp36
python_crfsuite-0.9.6-cp36-cp36m-win32.whl (127.5 kB) Copy SHA256 hash SHA256 Wheel cp36
python_crfsuite-0.9.6-cp36-cp36m-win_amd64.whl (154.3 kB) Copy SHA256 hash SHA256 Wheel cp36
python_crfsuite-0.9.6-cp37-cp37m-macosx_10_13_x86_64.whl (187.3 kB) Copy SHA256 hash SHA256 Wheel cp37
python_crfsuite-0.9.6-cp37-cp37m-manylinux1_i686.whl (702.6 kB) Copy SHA256 hash SHA256 Wheel cp37
python_crfsuite-0.9.6-cp37-cp37m-manylinux1_x86_64.whl (749.4 kB) Copy SHA256 hash SHA256 Wheel cp37
python_crfsuite-0.9.6-cp37-cp37m-win32.whl (127.4 kB) Copy SHA256 hash SHA256 Wheel cp37
python_crfsuite-0.9.6-cp37-cp37m-win_amd64.whl (154.4 kB) Copy SHA256 hash SHA256 Wheel cp37
python_crfsuite-0.9.6-py2.7-win32.egg (118.4 kB) Copy SHA256 hash SHA256 Egg 2.7
python_crfsuite-0.9.6-py2.7-win-amd64.egg (148.3 kB) Copy SHA256 hash SHA256 Egg 2.7
python_crfsuite-0.9.6-py3.4-win32.egg (121.8 kB) Copy SHA256 hash SHA256 Egg 3.4
python_crfsuite-0.9.6-py3.4-win-amd64.egg (149.2 kB) Copy SHA256 hash SHA256 Egg 3.4
python_crfsuite-0.9.6-py3.5-win32.egg (127.1 kB) Copy SHA256 hash SHA256 Egg 3.5
python_crfsuite-0.9.6-py3.5-win-amd64.egg (153.9 kB) Copy SHA256 hash SHA256 Egg 3.5
python_crfsuite-0.9.6-py3.6-win32.egg (128.6 kB) Copy SHA256 hash SHA256 Egg 3.6
python_crfsuite-0.9.6-py3.6-win-amd64.egg (155.5 kB) Copy SHA256 hash SHA256 Egg 3.6
python_crfsuite-0.9.6-py3.7-win32.egg (128.5 kB) Copy SHA256 hash SHA256 Egg 3.7
python_crfsuite-0.9.6-py3.7-win-amd64.egg (155.5 kB) Copy SHA256 hash SHA256 Egg 3.7
python-crfsuite-0.9.6.tar.gz (434.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page