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.

Source Distribution

python-crfsuite-extension-0.9.7.tar.gz (485.8 kB view details)

Uploaded Source

File details

Details for the file python-crfsuite-extension-0.9.7.tar.gz.

File metadata

  • Download URL: python-crfsuite-extension-0.9.7.tar.gz
  • Upload date:
  • Size: 485.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for python-crfsuite-extension-0.9.7.tar.gz
Algorithm Hash digest
SHA256 cd3fcf51e1fee3311164f171ba2d7433f902e0ad60d48c8b122cf70fb50bbf62
MD5 7564d4b4144d97f4bb739c6b0f557dca
BLAKE2b-256 93a8f58b1b803fe9f3a96b501aa5558320fa8c3a3f80b715278bc32a1831ae3a

See more details on using hashes here.

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