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.6.1-cp34-cp34m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01558c6a21e9454da83cfeeb2b216e1de90d8bf6fb85d5199987aa61c4f3d65c |
|
MD5 | d34dc824a60cb8260f0ce3e4ec1b0de6 |
|
BLAKE2b-256 | 0f6e4c5f0a4df30615cad4dad72c7abd87cb6499d42383132d13f030f6a1bc67 |
Hashes for python_crfsuite-0.6.1-cp27-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4ab43244bade1d4ec868ae2c2c78396f1722545ef4b99fd34536bc9afb3e14c |
|
MD5 | b2cd907350dd86f0a7be1dcd1e19382a |
|
BLAKE2b-256 | 349c7f289f0ab154057e2d2e4beb4cef9f9696baf42b3b65794bf799674d55ef |