Python binding for CRFsuite
Project description
python-crfsuite is a python binding to CRFsuite.
Installation
pip install python-crfsuite
Usage
Contributing
Source code: https://github.com/tpeng/python-crfsuite
Issue tracker: https://github.com/tpeng/python-crfsuite/issues
Feel free to submit ideas, bugs reports, pull requests or regular patches.
In order to run tests, install Cython (> 0.20.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.
License
python-crfsuite is licensed under MIT license. CRFsuite library is licensed under BSD license.
Alternatives
https://github.com/jakevdp/pyCRFsuite - uses C API instead of C++ API; allows to use scipy sparse matrices as an input.
https://github.com/chokkan/crfsuite/tree/master/swig/python - official Python wrapper, exposes C++ API using SWIG.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for python_crfsuite-0.8.3-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f24a9fc4abf860099a67601d51d11a757898657c992002540e68d3e4fe99440 |
|
MD5 | 0bddccd0997783f494f0949928eade8f |
|
BLAKE2b-256 | 2d0ed5762470e504e1faf2c003e441875db5b3acc148941828d87ed2a547f7d2 |
Hashes for python_crfsuite-0.8.3-cp27-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6e28cbfdf56b8d698332149f158ea89347b6fed401d3c84d0265b6f5fef3332 |
|
MD5 | 22c2125b2592dafae79e441ad66852f0 |
|
BLAKE2b-256 | 4b7469850aa00ed210a79142cf36feeffd0bc532fc98b7c16b0fe2dd1670668f |