Python binding for CRFsuite
Project description
python-crfsuite is a python binding to CRFsuite.
Installation
pip install 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 Distributions
Hashes for python_crfsuite-0.9.1-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee7762a5c263d41c846a8decc0e2f326f68032c64f5236bd07b7e1cb990f73df |
|
MD5 | 5f966f387c4a3b9b2a99c8e218224839 |
|
BLAKE2b-256 | 0004b391e9cb3e35b90cf712da0ad780fadbe170432389fc82c4bc282d76344e |
Hashes for python_crfsuite-0.9.1-py3.4-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952f3a1275dcd20cc04278a30d8b048a459f1b70c3fcf1ae9a74b3eaa22348a3 |
|
MD5 | b54a51da94ddc95fce3862bb80c36cf0 |
|
BLAKE2b-256 | 9d97be0fbefc576c3e9ebe83a2aad8b13f81dfc158b5aecc8fd489cd3bdae0f0 |
Hashes for python_crfsuite-0.9.1-py3.3-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e71d187e86b840ae615a4effb2b0cadbc8dda76dcf03912b1be7a8053bf8eb0 |
|
MD5 | 52fcdaa22e60c2129b45096d3d92a682 |
|
BLAKE2b-256 | 539f6a47e2918cff947864736df819887328b1535b49b810c6399d3dba89f678 |
Hashes for python_crfsuite-0.9.1-py3.3-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed1018e768bf5f941dd338e28b3536a6a470feb1aad1becfe189092cedf11462 |
|
MD5 | 41744188fa4030135585b2795070b32e |
|
BLAKE2b-256 | 464a6246ad187234b6774be820b11489c377f6693148c66d77a4667d3e88c5ce |
Hashes for python_crfsuite-0.9.1-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5552eb5237249680f4dd8374b2facb160d4df5a59eae5c0853ec2775238e17d |
|
MD5 | 4224c056e8ee2ed6bc1f9d5c83d6ffa9 |
|
BLAKE2b-256 | 71f8247d5ab70eaba8d41ee07884962b6e4cf0aa3866bac99c7febc801911a75 |
Hashes for python_crfsuite-0.9.1-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8a69c323b63c47b062ee0291438848bb80910138d208d74c33c5128eaee497a |
|
MD5 | 1c8694aec39d009ea76891f12f509036 |
|
BLAKE2b-256 | 75ff58f01d0537df907fca8e989c18ad375d83fbb448ce61e8a641328b9f898b |
Hashes for python_crfsuite-0.9.1-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf35f921bac3685cc5f831df125cc29fdf70d4d045dac8a15eb6e5907aed1d5b |
|
MD5 | 7f679228c777c8f94df2b9c655243105 |
|
BLAKE2b-256 | 036bf5b1b5839303649a005513a58ff9d501ceec9a1e3d32c1ed36c58fdbd0d1 |
Hashes for python_crfsuite-0.9.1-cp35-cp35m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1579a5682930c7c04278219f4cda5031f6a4f7e7328571929ef2b6849e7e2ff5 |
|
MD5 | d46b997a9459435093d4a9f7392a9ed2 |
|
BLAKE2b-256 | 69856ca674dd4d0761f2ab96dd78da93eeefabe034d548d3e02705c935d157cd |
Hashes for python_crfsuite-0.9.1-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efc0f47e4d3b18fae2f5af6e4954b3b50a8bf8d01b4098660fc4c5140c2925c5 |
|
MD5 | 0c7df6d6b898e59760cd2cfd426315c8 |
|
BLAKE2b-256 | fddb7df2ff200c339cd32d2e5a8de053045a05351b0388f248e2e9407cf135d0 |
Hashes for python_crfsuite-0.9.1-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ada1f027388cead3f3bfef3e42f82fa86bf626d4f30b3e5ce714ec31fc8916a7 |
|
MD5 | f88542a036e74b311922ec605d6ff316 |
|
BLAKE2b-256 | f2c491bd900fd11356fdb6b572008ef9ec2407a7c151bd61cf9097834b2c761c |
Hashes for python_crfsuite-0.9.1-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd30b2ec5d5fb4490cf420a488b38f2917e9934087ee495a7c4efe8fd37fe5cc |
|
MD5 | 27b42dcb30afa7081ad019fef620e343 |
|
BLAKE2b-256 | c34e11779f487f033c2fe1874bd92980ebc3b17702c70b797f589ab7976a5310 |
Hashes for python_crfsuite-0.9.1-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8529c02535d62ae9085e0973b25775ebb1f29ec0abfcc5d7886e79d188cda779 |
|
MD5 | 51359755088c127dfe0027e51ffb5cec |
|
BLAKE2b-256 | 67d00851e87e2de672fe56d6bd81c214574e2c5b8c44962ac22d22f6d55aa6b9 |
Hashes for python_crfsuite-0.9.1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c8c033ed427e697e28b90c93239fd75dd520f44c45ace0c15db6a5d5c6def83 |
|
MD5 | f9604789eb5d1d11101de429995e8e2c |
|
BLAKE2b-256 | 928067c34135b7e1a8d3c6230f4d79bb0a350960db92838c319a35338ee37476 |
Hashes for python_crfsuite-0.9.1-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db06c54700225557972d0f3a395e11c71d9042d6e9d952b88a18eca2e7394a53 |
|
MD5 | 5a80ff66d52711e5d9f0a150177307cf |
|
BLAKE2b-256 | 734c663a57a6e2632eeac0e924ca7f828aa3eeba81c6d511a307440523816e0b |
Hashes for python_crfsuite-0.9.1-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e921ce46b980bf1e792179033770f9dc0a2349cf5a2693395984588ab4134938 |
|
MD5 | dacc500876391d64f1d39892f0eb162a |
|
BLAKE2b-256 | 0839512acadfb79a8c510bfc1028e951e8e188fe22f7796a45d3d316dfb934a9 |