Python binding for CRFsuite
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 Distributions
Hashes for python_crfsuite-0.9.4-py3.5-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a75dfecb278fabb798bb1e76b98b0774390c0e54eb894b1782227ad36976471b |
|
MD5 | 143fe713f178d2b1eecee347f8f31c97 |
|
BLAKE2b-256 | 85cf3d22b9907589f5a9e4ddb868a3319f0f011eafb8928f27814fb0c7a480af |
Hashes for python_crfsuite-0.9.4-py3.5-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b7164daed489cc823c6460a218918c1979c2cda95ad5e3c3e7ec195b8455d6 |
|
MD5 | a1569c883f7054618a2f651704f1f018 |
|
BLAKE2b-256 | 81047e9688c3e9559780b90bb8e884771570780e1790980f98dd832fc33d79e8 |
Hashes for python_crfsuite-0.9.4-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3aed24fb3939f79dc88ae197d2988e766894d209851004e35bf3f5b693c73fd |
|
MD5 | 83132083fb8f749ba12b2a27770dbabb |
|
BLAKE2b-256 | 785ec04f1b5a00c740d6e72e454ce382be23d864a61eff9043d8d269fc0791a1 |
Hashes for python_crfsuite-0.9.4-py3.4-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a01b3954fbd95648d07b7bab8047895ba471bd2fc5a883cef63d83d4b11f782 |
|
MD5 | 5358650126b236b9cce7e8f189459eef |
|
BLAKE2b-256 | 2374c00a6211c06838c939e21267db3eeba49cdc41f2e0dfc12989fd9944be3d |
Hashes for python_crfsuite-0.9.4-py3.3-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a626ccf4a2ad01b327d16b0a6f0b63f38270822beb50dd8ae6b5ac571cc44d6a |
|
MD5 | ecb7f31e2bd2a3c0b74e1d6159a544d5 |
|
BLAKE2b-256 | d88697d656df6d67e7a5999a0d429ba02930fcfbf1034adbacb3eeda441d99d4 |
Hashes for python_crfsuite-0.9.4-py3.3-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | adec031b7c1a54cb5ad8c8b58234ad987a86bc45bee2fd6c6b4c40eaabd7b4a8 |
|
MD5 | 64d1188d54c485425b82e07d1cb10a2a |
|
BLAKE2b-256 | 9da82e9e77c5a1add459921edd3fdb8094038076fb95d28ebae08b80c3df6cc4 |
Hashes for python_crfsuite-0.9.4-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d98a150ebcbbe11e0dd213a5a6e49905534caefd1ff2fabe2e42c07ca92d4568 |
|
MD5 | de8f94d5a89134fa22d571041e091456 |
|
BLAKE2b-256 | 9473b2c3d96eb959c35fbd919948262749160fc1840ff488c144d6630976011d |
Hashes for python_crfsuite-0.9.4-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64005840df7568569ca7639dcbe723cedbc605b77a74e90a075e9f1f719a0a3f |
|
MD5 | a13328c73a9fc278c50b4056f2be2dbd |
|
BLAKE2b-256 | 6597b0c34624bb29ee7315b45b30e5320d964b573d249ae49b66a29faa8521e1 |
Hashes for python_crfsuite-0.9.4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fd12578b90e965dbf0e9b79447af7c2d61c7414d541a510f8c75039b9ba3f4b |
|
MD5 | 5491eeb522ee60d8a8143638bc696241 |
|
BLAKE2b-256 | 46f0bee755c3397d399e4741d215cbcde88f66982fbbe877aa954a7cfcc4c512 |
Hashes for python_crfsuite-0.9.4-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb633041cac3ec78dd45278e50f60b2a291ae123ddc954538954f0a23cfac17c |
|
MD5 | 038c81b8b3aa459a3cea1e4bf1cdabd7 |
|
BLAKE2b-256 | 027b8a5515ea63f02a24e7cb66f650ff7ddf7ce156a002fffc114a1b02d496ab |
Hashes for python_crfsuite-0.9.4-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41f3c4afef3f208603b6e885b0be3ade26f7ecab6494a6b0f830b6dd0c08eda9 |
|
MD5 | cff471d1e3d37fff9c62b4ea5ca2ec49 |
|
BLAKE2b-256 | 7d0b5e1fb57cbdf0de8a634b4dc9909d953988d9dd8842b8d6957148add43d6a |
Hashes for python_crfsuite-0.9.4-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc5dbdc8f1f381d1c56eba6ad494f1ee170dd665614f54364aeb5cdf24e11fb |
|
MD5 | a696b29b10ed52a2cf651d908f64ed81 |
|
BLAKE2b-256 | d50a594aae54f46aa14023b1b676aa2445676a8e623bf2959ba2d65d0aa3ca08 |
Hashes for python_crfsuite-0.9.4-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcf9b1c9c73b4fa5259fd12de004f6de00cccf822384c2e34300a88a0614ceb9 |
|
MD5 | 24bbc56a5efc496405b0542f8706f370 |
|
BLAKE2b-256 | 3901a8422aa0eced9080bc9b1da616133f6c1d78f82ee9b0be8f676a1a1e91e4 |
Hashes for python_crfsuite-0.9.4-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b6efb98bf364eac255e55837d02fc9626ed00b9bc93a80252f4c5822be2c33e |
|
MD5 | 554675b1476f2f6cdb3d512af522376e |
|
BLAKE2b-256 | 7291571c21b014d0e25a508e1380a971dbae7bdb2c41bc9492006ee5d8676d1a |
Hashes for python_crfsuite-0.9.4-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d445c46d70246d087f016f9ffbd84413f7de5e1bb24b79430706ce85e4ad2afd |
|
MD5 | c5f6f49bde7f7f08917efd4ab0d5f733 |
|
BLAKE2b-256 | e06dbea456257114010ab975ad45958bba6d542fb4bccc038d1b429105d0bca5 |
Hashes for python_crfsuite-0.9.4-cp35-cp35m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63504ecd03e591b5bc24ae605c29c26144a75a32717569d4719d35e7b0c15abd |
|
MD5 | c1d64ab2cc80018d44f6126961e1f9c5 |
|
BLAKE2b-256 | 888c1e4856f36a978c6f7f0edf6443b39e8a38a77b24e8e8dc82fe7222330485 |
Hashes for python_crfsuite-0.9.4-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efcca53bb641a4cf7efb687533fb4587454b80d338daaa48d07dc1d59e138382 |
|
MD5 | 46a7a99bd554f81ddb877ff29215fee5 |
|
BLAKE2b-256 | bf11217b088a52f9c53d6ccb562ef10f84a00b192ad4ed7b1bb90ffa10489b0b |
Hashes for python_crfsuite-0.9.4-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 279d7bd3f589cc109ed966af1e7fb3457cc649378a339bc52bc3ec0ba96c0605 |
|
MD5 | 7c2d991a7b970ac835905015e89a92e5 |
|
BLAKE2b-256 | 2139cc87a36c671c46e18b0d5770e7b87ae5c11dae5f2e4aea44a58be5da0a65 |
Hashes for python_crfsuite-0.9.4-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5463e5bf3ff8edbada3a2fd02e259361a43f20865ef75e151f49273b177cc3f |
|
MD5 | b7367f6dda49197d509dd783dc06dac8 |
|
BLAKE2b-256 | 3cfbad148a2af632ca65d7ddfd5d79faea532303e7ba1447d57a1f3132178c08 |
Hashes for python_crfsuite-0.9.4-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 944b99570f37fa4fbcf78a7b80cc4377aa8e9c25b653b3bcc6afcf48d78d59a2 |
|
MD5 | bda3497d617b0bcedf3f4418e6fd3d16 |
|
BLAKE2b-256 | 1769220d7fa1c5af505a61fb46641e26867f4cb6402a2e1f8a6f35e970008588 |
Hashes for python_crfsuite-0.9.4-cp34-cp34m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28a54df40d5991c58836f4383c86e18c6b00994d0293fb34837b665f9ba7e16c |
|
MD5 | c6b87df23dfeb96d95ed651b5ce90a63 |
|
BLAKE2b-256 | 575d4f49565d3a0b1cac44b446f94a6b906f2b4ce408f7ac863a08daa9ea7a73 |
Hashes for python_crfsuite-0.9.4-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 499c5d9c4046ab6458a536dcf5a21a522f898031e9075a2f034346b33eda258e |
|
MD5 | ca98aed7835d7c859699880459563d54 |
|
BLAKE2b-256 | cd0619ec1959c87c6159c751bc7c458b68af8372ffd1acf426cbca2d77b2704f |
Hashes for python_crfsuite-0.9.4-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a72585f81529194027d7bc8e4b6954c2c41a15e0d0047ed72e714cd8ca1f166e |
|
MD5 | 215aa8f0a92b020056068e5d579b5535 |
|
BLAKE2b-256 | 60552f3dec77fd9e569e06ae262d634ad92c025c647bba984cc139174cdff4b8 |
Hashes for python_crfsuite-0.9.4-cp33-cp33m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3db1de5f98afbb0e1a7f00c6ea36bc96e5e3c96f4f0992f258e64513052e70e |
|
MD5 | 6dce25a731d52af79b69598e9a2f4ca2 |
|
BLAKE2b-256 | 3eff88b12da41e32ac7d2d7ffae29b4540ac99ae944b0eb01b946428df1ded3f |
Hashes for python_crfsuite-0.9.4-cp33-cp33m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c70d23c7f32746d28667d8623d175fb67e7fc84af3842d47207dceaee85f51db |
|
MD5 | 3bec4ecf7f816be573adece57b07181c |
|
BLAKE2b-256 | f797c1de8facaa3ac606ba71aa1d4109ef0967e4b8ac908c66fbcaae2cb18ee8 |
Hashes for python_crfsuite-0.9.4-cp33-cp33m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ea5e71865e3df87d3ae8e0bc13f9077e149af4f16ed8da5d3e9efc22a3eb248 |
|
MD5 | c4129bb13cfd923d02e7c9dbaddd246f |
|
BLAKE2b-256 | 3bec78900a27fde5a83b160a930200b2a1eb492b1162a741c8b7cb9844716c4c |
Hashes for python_crfsuite-0.9.4-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fccdad5685b7e5b5d80d409ad9e4ae8b872c34960f8cce489b45307f48011f6f |
|
MD5 | b06e5bbdd7c2a98192fc5138002318e2 |
|
BLAKE2b-256 | b9b0732aac35859d023ed6c28e324e372cbba8f081c7c938087317e8a746dca2 |
Hashes for python_crfsuite-0.9.4-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86585a74215d4652a35cb32023148e5f45b8c3ac65ee04e4352beb087a6d5a94 |
|
MD5 | c0a30185669bd27926e2f875d6a763f8 |
|
BLAKE2b-256 | 3943b784379f184edcbc63ba61e8913f96947f98279cf06640674bcbd101a822 |
Hashes for python_crfsuite-0.9.4-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53dfc12443a6df3edf3ca0754adf9345dbc6016879c8dcd6c871a74a980ca225 |
|
MD5 | 3e7c4cdf776d119b5d076312b225eb65 |
|
BLAKE2b-256 | a5b43119cce450a2b0da428b9ea9c7409403cc45a1e5500512250fa1f3d50940 |
Hashes for python_crfsuite-0.9.4-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02295d9a81841cd12cfe5e33a6cc0940584902a9791ab8131b4346ea6d10a9ff |
|
MD5 | 6190305ee34e32c7ea2dcb24c1bd9535 |
|
BLAKE2b-256 | c3aa92a61545b3eb71997cccfff5f92a099d46ef29f796610cfd1a63fc97993f |
Hashes for python_crfsuite-0.9.4-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91a59adae52e31860c50e2186aa041aa062846a8ee40943dfb6de5a040543760 |
|
MD5 | f2082904bc18f850ebf39e782425a186 |
|
BLAKE2b-256 | 21a2ab4235a1f4a086093aedc0764ea6765f9f9fee77713fa32d49b241a3f13d |
Hashes for python_crfsuite-0.9.4-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74ddf92b5ba0b3b76ee0bb6ce9d7498e2627802a5c26f88b8239b20d661a64d0 |
|
MD5 | 111eb1967b8bc73a82dc3862976988bd |
|
BLAKE2b-256 | 987c83108c40e70f616cbf01c753c1af04828d98df91ab87ba8ed5788ae0a08a |
Hashes for python_crfsuite-0.9.4-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 077cb66e0862380b7a7df993d8f8f4d9066515311ccbe96fab05b0f7f04cd8c5 |
|
MD5 | fb2511cb6faa92d3a2d3ef5309255937 |
|
BLAKE2b-256 | e4645a686ff7d5d53369b973234a95240b830c1cf430750652592377e0abd1a8 |