Python binding for CRFsuite wih openmp build
Project description
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 Also
sklearn-crfsuite is a python-crfsuite wrapper which provides API similar to scikit-learn.
Contributing
Source code: https://github.com/scrapinghub/python-crfsuite
Issue tracker: https://github.com/scrapinghub/python-crfsuite/issues
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.
License
python-crfsuite is licensed under MIT license. CRFsuite library is licensed under BSD license.
Alternatives
https://github.com/chokkan/crfsuite/tree/master/swig/python - official Python wrapper, exposes C++ API using SWIG.
https://github.com/jakevdp/pyCRFsuite - uses C API instead of C++ API; allows to use scipy sparse matrices as an input. At the time of writing it is unmaintained.
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 Distribution
Hashes for python-crfsuite-openmp-0.9.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11c88d95f8f1d7f03aca6c5e67be2dfca8d0fa56d16cdb5df78cb2a3d611475f |
|
MD5 | 2a60fb5e238fe692141ae27ba1888eed |
|
BLAKE2b-256 | 2f31c5692f58d17f7e8f0cf73dacb1b0bd866606d62b3f6b11a5c7df649adcf7 |
Hashes for python_crfsuite_openmp-0.9.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bfd08cc7df248e76ea039126ebbd69d2490c5137f071b3b7e8711a27bf65281 |
|
MD5 | acfe4818ac80adf8083de5defd55275b |
|
BLAKE2b-256 | 54082f2e278eb2bd3cd7a5657f48f4dc63b1e4b990868b91b30e1962e70d6292 |