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.6-py3.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95f9775a64ce8f05c28821e93cdcd0544704b3102f444ac8d03fc4bcd61dfdea |
|
MD5 | 4253227b8c7c3ff7ceaa3d3f29d75371 |
|
BLAKE2b-256 | 80751e404a8e3f00b8106d2c623282c630255c13f2978df5340b9a4d85d01fe2 |
Hashes for python_crfsuite-0.9.6-py3.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25b66bc3b6011fd5ea52e0852e5bca608423dcd6f1daad358cedc6bfc418a1c1 |
|
MD5 | 3c793f4cdf96907523fac7c4de8379b8 |
|
BLAKE2b-256 | 6ab9372334eae7cc24f7216543aec2bab4114b7f462e9f784ce30787facbcdc3 |
Hashes for python_crfsuite-0.9.6-py3.6-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72a0fb8204e1fb64bd23c62aeeb675dc7d4584c670bc77a491479deb43ceabf0 |
|
MD5 | 7f950e12c8ab913f335faa103886a17f |
|
BLAKE2b-256 | 7b4f008c540a7ecdb9ec3a3abb2cd841fc74ccdf23b7a7f1e0c1c454ac7a5ee0 |
Hashes for python_crfsuite-0.9.6-py3.6-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b2aa0072935a76f54c7f34b4b252a4c0ff3531b73e8968f7a8e1c506bace00a |
|
MD5 | 31ce2fcada17690878c1620e69434275 |
|
BLAKE2b-256 | 063383c9d8bb28378946730375f029feb9ffe7175452933708e0e378d8bac28e |
Hashes for python_crfsuite-0.9.6-py3.5-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ada96688973a7ab20e8d2c5e157f64adccc848ce7cf157efd20dec177f87c94d |
|
MD5 | d21e971f00707f72a68e9cea4d33c891 |
|
BLAKE2b-256 | 549f8e6ab4e9a6bf6f80c9717993d530bd3c2150a77e7778f538ca5e0edc7ca2 |
Hashes for python_crfsuite-0.9.6-py3.5-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e7344c37d8942cd8e24c57375aeb47fcc5601a64c8591ab6d7c8e21d179134 |
|
MD5 | 23ff8bc4ff9c5e2addca9c4ea68151f8 |
|
BLAKE2b-256 | b4fe77d8698bb484165ac18a525863084007b73d9e5a9c86b4ce143cd5d0470d |
Hashes for python_crfsuite-0.9.6-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5cf6c8e376668ef46eade729e7098a2c1ef5fd3e96284d99f822ed98e076c54 |
|
MD5 | edb06ab6d89fcb056cce12182bceffd6 |
|
BLAKE2b-256 | ee39f4bb8b6cdc36e41907fb321a39b67cfd2a79bab24da78208bbaf38f7020a |
Hashes for python_crfsuite-0.9.6-py3.4-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7856dfb4aebfc9e472f5199f31db418a393fe82048aa07ab98bda6dadacd3ad8 |
|
MD5 | 66416f53f95f4e759918dea0327267d7 |
|
BLAKE2b-256 | a6647b41f350b4821980986e467004f5c833ad4e49ac964f71726f01376ec001 |
Hashes for python_crfsuite-0.9.6-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d63e4e30facc9a885fea1977f38c7ee76cf06e781fb7e745b950d31cf9935a2 |
|
MD5 | 67750cbb229fc40de588c7b414ba5b37 |
|
BLAKE2b-256 | 446b10caf25636ca84efac1d46f9947409683c6b743a9243cd9c70427468ccd2 |
Hashes for python_crfsuite-0.9.6-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b24e6c15e11ef9f02987adb61313a44ae5742c57757cce8f6dbb2d533d9c9af |
|
MD5 | 178f7dce3a5af9e61be81762e8c6fdf1 |
|
BLAKE2b-256 | 8276ec98f48da938325337baa84bbfd20c10b076b0d36f177d223eda910a6020 |
Hashes for python_crfsuite-0.9.6-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88256c0bb76d2178ea4060dcc97096612dee4c8d929cbc604bfc98a48ca9311f |
|
MD5 | 57ceccbf6391af8fc486948404bde71c |
|
BLAKE2b-256 | 870791b578dabc20e78f77aa51dc2e1570099b9b4cc2f7f437a7007d212be464 |
Hashes for python_crfsuite-0.9.6-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a53550d506fc1c77720267204e54d1f3e4affa75c558d9718cfdd65e9413715 |
|
MD5 | 9d9fe5e978c39238cb3d0ccf3ed052fa |
|
BLAKE2b-256 | 24f70a423a20520ad7c80c9564e00fc1335d66b59d8bf9b9b73ea80f79c96470 |
Hashes for python_crfsuite-0.9.6-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee79c713892b89a02f8213e62c270039718b2d909cc2f994c86f5f12f3537c6 |
|
MD5 | 5bdddbc692800bf61c822454aae13281 |
|
BLAKE2b-256 | da055cd3eb8dbbe3c787e3cf84d5767d95198298f7951bf8e40c46ebd8c80a32 |
Hashes for python_crfsuite-0.9.6-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50969893f2e61287863e529ed8ef4495b81046dd652f1bfc2f4738ab73c37091 |
|
MD5 | a357ea1f404facb1eba0cdbc2376329b |
|
BLAKE2b-256 | e6fe996b53aecd1e6a9dfe7ab46978303e0662ec4af85867c9f109ed76dd6e4c |
Hashes for python_crfsuite-0.9.6-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98d5b16dfcebbb87d71cdec6b72d6c84d5522770f1880e15487db973afb6b2e6 |
|
MD5 | a63168a5d7e8cbe739115a2bf96ce72c |
|
BLAKE2b-256 | 0d85b953dedd781dbc5c36083b6266b1b16dd305d0bced6730db019afad6e7b2 |
Hashes for python_crfsuite-0.9.6-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2f638bdc1913e37339292351a8e81710b89c2fb6fd87489c88e3bb0e85a6b96 |
|
MD5 | d9f46812b5820792cb9a35f0c9ae0c80 |
|
BLAKE2b-256 | 29c9b206fa75d5978a631b5e6914a051139d99ff4624f96eac1bec6486413944 |
Hashes for python_crfsuite-0.9.6-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad8d81483503c1f62a050b87617032be1a1a2710836990cf190a03ac547f929d |
|
MD5 | 879d9ed4a9c8100fc4aecbb4db8392a3 |
|
BLAKE2b-256 | aa3c97808984d26f2071b2115a7e9eb3fb7e5ccf30e7faccc1085b0ba7a8d07a |
Hashes for python_crfsuite-0.9.6-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65b68da29e565cae25ad3b0ac72316eda2f7b2e1e8b97960ece84af972e16b97 |
|
MD5 | 827f19723ba46d9c18d979b01bd437b3 |
|
BLAKE2b-256 | 2f86cfcd71edca9d25d3d331209a20f6314b6f3f134c29478f90559cee9ce091 |
Hashes for python_crfsuite-0.9.6-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91e6a0e01056dccee56cdfb75e5e461af7247c52918a2c69c1512173c182e40d |
|
MD5 | 51e5cb5250b4f4793de3dcba67e2db64 |
|
BLAKE2b-256 | 28bfa7f167cc0493f402a5e33156d174604da4bfc2d8c1132a8769fdcb6a754a |
Hashes for python_crfsuite-0.9.6-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 604c1e00bf48a33291ee4a325fbe188f9a934cb4729c93695994125460329040 |
|
MD5 | 31fc7925cf29be87779a37856e3e08f7 |
|
BLAKE2b-256 | 27bf595aba87da72944f934e912369b6fca94f80a0df8b10e4deacfec4f60c0c |
Hashes for python_crfsuite-0.9.6-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 277e96bc3e5b0ca7317aa3b08da59a9d52ea25b4faf4276952de7b233da0d2fd |
|
MD5 | 7c963262b8da1f1bde7a90e36f5a9871 |
|
BLAKE2b-256 | 3081ac0574985b8757e56ab980c009cfbbad67590f1c7bbb391a07c801d5dbe6 |
Hashes for python_crfsuite-0.9.6-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85ffa9cb7c8df3d66925904000b3f35980c9d17a4a2a0ff3c18de91dfb3ae3d9 |
|
MD5 | a1f13e2875a26b83771192cab5060c46 |
|
BLAKE2b-256 | 6a55730197aa4b5089ae059cfa580be7c602a691f58c6f274481be603791ac4e |
Hashes for python_crfsuite-0.9.6-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73b2cddb591097e89a795a53e3c2642cdcbcbf50497fb26a57564212e273d95c |
|
MD5 | 56f7eb770eae8edf216018395b1749d4 |
|
BLAKE2b-256 | 4d2c274b89d009bb019038feaf96abb263d7cbff069a0771841013cf1832156e |
Hashes for python_crfsuite-0.9.6-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e42b33e698d054cb844cbb5bdcd5113e4938466888cccd7697a269a8008b94cd |
|
MD5 | ddf9de082362626b017b5c387772b6fb |
|
BLAKE2b-256 | 452215ff2ba5794237d37975e9e026c27223caa49e79f1a5b023d16443b47074 |
Hashes for python_crfsuite-0.9.6-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87ad5718050185f087a4c6ab223a5d5d842f9eeda7f4500762c64a0e7c42ba68 |
|
MD5 | f72230d56f6b30b56a3f5a28ad829c8d |
|
BLAKE2b-256 | 24e9c87857b3b9aad5bb1c055f36e48bc53163af18f91080089bdd3532e60ac1 |
Hashes for python_crfsuite-0.9.6-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50075a8c6c4a72e1c90978cca618e1f9e43a695ec42da6f515ff62490e44a805 |
|
MD5 | 7813b2c0f16d784ac4c8148d436fdd02 |
|
BLAKE2b-256 | 4366c60fa16cf60164624e48af5201dc92c9875c512a37b9f385d19d393a91dc |
Hashes for python_crfsuite-0.9.6-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aaa526be8158c31814baad1d0175d97c345c57436ca19165fde717361ddd64d |
|
MD5 | d578f82d1e4335ba172413e1ed90f91a |
|
BLAKE2b-256 | 195003e6939dfeebee4fab44ff85ee1a32626039e3c519d5bd0d4c519b5a96ee |
Hashes for python_crfsuite-0.9.6-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1e3e355773c621f4499d3531ecf25aafee62005ee5bb76f6f413af66df712b9 |
|
MD5 | 0379d1c0e9d7d735fb5d9bec6e8ef09c |
|
BLAKE2b-256 | 731a2ffada043bc7c7ac556aa0734f0a31cbed67da03d2dab9d5684a981e66fc |
Hashes for python_crfsuite-0.9.6-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3791d430e09d76e972a0eb7fde79a23a6517ddfe69b74375703261929d9cd331 |
|
MD5 | b5d58097ed3e149308a867c41dcdb422 |
|
BLAKE2b-256 | 346675500b3e36e749a71b2f90b8e3f180c52a204942a33d6b1d0a95d9d963f3 |
Hashes for python_crfsuite-0.9.6-cp34-cp34m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e477f3efbf34f5233df001c570e5552e492160c6ded803138208cd6391793d26 |
|
MD5 | faccf2b7714ae41e89177fd09e2c4ecd |
|
BLAKE2b-256 | 9d16578c4954a6b10bd5c520ff1cf6318b37dd888c37ac3dcc8fb273da336d57 |
Hashes for python_crfsuite-0.9.6-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd88d24d930d8fe4b9050a2171a965f85cae3d0eae0edcc20efe50d05aa74a66 |
|
MD5 | 15d4aacd8a4f9b3f49ab4fc30cfd6ae4 |
|
BLAKE2b-256 | 32d9f00e607bd8af681df2b53bb700c2516f6f19933c0c9d91739a6203271496 |
Hashes for python_crfsuite-0.9.6-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d13b0b6cfd754243ebeda8c601ce6388d76e2a8c3dbadf9ece217e290345ea31 |
|
MD5 | 3e07b162bc5c5c2d1a0e8b8ca87747e5 |
|
BLAKE2b-256 | 0eadb236a82c4cff151c99cdae036ac230686243a153f9fd78b3d4183b1d8176 |
Hashes for python_crfsuite-0.9.6-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac97939a6cd23a5357c3e496410da6922aef4a62ad1e4833e9252f4b2a080952 |
|
MD5 | 7d03abce2c212addbd228e90f2d6d6be |
|
BLAKE2b-256 | 5b5eacc3c7fd853b386da7cbbeeae5d198bed7785b98b7bcd1643f323dd3fb8e |
Hashes for python_crfsuite-0.9.6-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 138f26301af254e87892ae1cf582503e638d1864ff67457f67eb5278bcececac |
|
MD5 | 35588a2052c8ed06b868587dbb8d3f31 |
|
BLAKE2b-256 | ecfd0d2a86ed27b6ae546e8e7dc0ec7c437e69d1a0506886d0d7d9b1dbb72bcc |
Hashes for python_crfsuite-0.9.6-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155f7329ba87bfc6fae47871ba4e59d3d897ac18f49c6b99e612fc74fd50ed32 |
|
MD5 | 1a667e099d33f92df28979ccbc42e750 |
|
BLAKE2b-256 | 04775c801090b237c395b19a555497936544d209431b50993e700500a863fd0e |
Hashes for python_crfsuite-0.9.6-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f9dce13ddbdf1b1bba7b8b8eadaa87819cdbbe511f2240ac9f63c7753a1da8 |
|
MD5 | 2936c9958631d37e8caab40e7f0c3be0 |
|
BLAKE2b-256 | 258f6eb44cd418b86d33d887e930a9cb83d79a4fa7831de5e1c3da11bfe583ab |
Hashes for python_crfsuite-0.9.6-cp27-cp27m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd638f3aebbdc05299f7abd443419bce9d9df18637787576036a45e04cdb0817 |
|
MD5 | c66055c843c804f2ed108584634fcfd3 |
|
BLAKE2b-256 | 0e35eeebfe5d36c51e826eab32c3e85704a43d0e1fa783f9bd564ac378629300 |