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.
https://github.com/bosondata/crfsuite-rs - uses a Rust wrapper with CFFI instead of C++ API; allows to tag with GIL released for better performance.
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.7-py3.8-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cff06b51c16594ab4132d72a8b4b381ff4351a1825e388e120739c223ca849e |
|
MD5 | 424b44aedfa5a2054ac2b8c328e77467 |
|
BLAKE2b-256 | e8ba4834fb163f2a677bfa2134d476b0442cdf74779872cac2a1e2c95e435d2d |
Hashes for python_crfsuite-0.9.7-py3.8-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 263f29c656fbb63d8d198d30ec9bca5b6fc7fab61fd20dd2f7cab795a613a85a |
|
MD5 | 742f0db150cbd083e836c5f6987ac0ea |
|
BLAKE2b-256 | 7d2c10c51623dc50b6dca1e3fa385d4d52d3a2bbcb9be749b7a57944d954a27b |
Hashes for python_crfsuite-0.9.7-py3.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac25832a8ab55f3a0a91c863e7f4f270ccac9d34b2bf1e2ac457fc8e97c81ba2 |
|
MD5 | 76c318f1ff6ada5f470da1719aa99017 |
|
BLAKE2b-256 | 75003909f4d888b897af83ca505e853bfe2d12d24b0498c043785a4794ac1f76 |
Hashes for python_crfsuite-0.9.7-py3.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 468bcb736a98627df89708f631cfd0e0c5c7825b545ea1a1e91d7db2bbad88a6 |
|
MD5 | 6774b7cb8765601dbc66c1c513b348fd |
|
BLAKE2b-256 | 096d2d54f76d70d4e1d6a56aad6fd0072576cdc097a3d98596a6dd302423f460 |
Hashes for python_crfsuite-0.9.7-py3.6-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aede38a4c93c90b9fa1b291c2e12521bcf718d6900beae0f933667f184c68ba |
|
MD5 | 532c34035e279e9a0bed60c5277ee0d3 |
|
BLAKE2b-256 | e79103d2340195d347057a1250315a454411fbed4b276e7f39d5a148cf7713e5 |
Hashes for python_crfsuite-0.9.7-py3.6-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfbfbfc298057e56532151910f042bb4b579502037d9403627a72cc51d572961 |
|
MD5 | 342c7b44e2c4f4f01c856fef657926da |
|
BLAKE2b-256 | ce2bf547f5e007137fb0cc96906af91049773cfc242313973951911eeaf14899 |
Hashes for python_crfsuite-0.9.7-py3.5-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09faa4425b9d8c128946c68c58c8efd5f28908ddf6b941af97475e2072f61495 |
|
MD5 | fe20dfd24c9f1b533fb337397cc68841 |
|
BLAKE2b-256 | 72f1882c76f471099abc8634956edc903cefa8fb3ac35ff765c81b3e5aebc7dc |
Hashes for python_crfsuite-0.9.7-py3.5-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4753c42cdd6c7f48ea745943f641c23d87a9547d22a07ea45903702cea1c7be2 |
|
MD5 | cd3ef10e279715e74d002ff1e66b5501 |
|
BLAKE2b-256 | 665436465ee59d5b2e761793a9df9e516707b522484b266b74a0fc1ca7ba25ca |
Hashes for python_crfsuite-0.9.7-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a14959d27475f379711798e1cbdad79ebcab07976ea52d5b4862c36132ae16f5 |
|
MD5 | ba795e3c1edf4974d4995a5f3a2dc928 |
|
BLAKE2b-256 | 44d57ac1bf4f6d4e4838b9b89e6b442ef0cb608226b051bcfad34c4c9e4efdbc |
Hashes for python_crfsuite-0.9.7-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e8b03b02866c23e9618245757cf70cbdef18b9ce0893121c23ccd114fb78508 |
|
MD5 | 1a816e24c30ff8f4bcb2a3625ee19502 |
|
BLAKE2b-256 | 7e28e0a81697dcf73abe7a38298bb5989fda5083341bddc948523f852b81266e |
Hashes for python_crfsuite-0.9.7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caa980287a90fd8c659c6d936f5f4a5b28d0157ce530ad90a6430faed1cf147f |
|
MD5 | 773a008e1eb1465bce4ad5398ab431a1 |
|
BLAKE2b-256 | 1fbaf717bedc59bbcb967f36f89bdc9187aa313f0322abe9f02eda3c20006de9 |
Hashes for python_crfsuite-0.9.7-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df9edb37c90744c3aafd5d7dbf7c50fc486fe189e0e85a1deaf7af995ecac7b5 |
|
MD5 | 28d5727eeaf09a067a3b66bce6f6ba05 |
|
BLAKE2b-256 | 84aa422ad870d4d2554602d85ba7e708b6c7a8ee9fcee9e9d0097ab54a10fd9f |
Hashes for python_crfsuite-0.9.7-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 946ef3481c8dcd7c331123dd39b227cc52a386322967db78db650c58a6c972df |
|
MD5 | 504fafd57c7730c639a2f7119f50f0f6 |
|
BLAKE2b-256 | ccb91063b90dfac9ebac537b90d8846586b99aa057c06db0e44a59f632440036 |
Hashes for python_crfsuite-0.9.7-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 397bac9cd4bae7a1b27d215c0119d33ff51c4ec5343d1f474867fd1a04c18a1d |
|
MD5 | c24216c59a7a41280017a3baca903e06 |
|
BLAKE2b-256 | 2f3a192bd9cbfeac340fb41aa2b583dbf82c88cae079d1e8c0cf00c60b66ba2a |
Hashes for python_crfsuite-0.9.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e905914a688138c29205a6752e768965ef3b0bfc46102b4a94316fd00dac7bc2 |
|
MD5 | 7c2c7797d72746538ee8383ba7aa5b9c |
|
BLAKE2b-256 | 659b1b520e0562ee19b4298dc75e9e27630886e56262753656ef8e46704229ca |
Hashes for python_crfsuite-0.9.7-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1568ab4c7a97f54b4d57f5b9795a4d6d841f7dc7923dd40414e34a93500cc42 |
|
MD5 | 8f959ab7ab3e0a6d6d08fe28fb97f275 |
|
BLAKE2b-256 | b2747d28a915630619f06c1a0cdf3c3dddc1516ac9bc31cb4764cc3f6e8142d4 |
Hashes for python_crfsuite-0.9.7-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc0149a62764e7d24d4f1a362f51b02e0283ac2b2469ce7f36666ece0b55855 |
|
MD5 | f15b05317fa7f944cc6ce1e34361f61b |
|
BLAKE2b-256 | 794758f16c46506139f17de4630dbcfb877ce41a6355a1bbf3c443edb9708429 |
Hashes for python_crfsuite-0.9.7-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d03ca82d34b45c6efa8f086eb05c7217e4a7fed34640e714775deaa08b61e6d2 |
|
MD5 | fa8e89cefcf90950c68b16f6c120346f |
|
BLAKE2b-256 | 2d8c76244fcd841a22142107556bc1fdc4ad03c9dd57554c8eb44e2dd1259c80 |
Hashes for python_crfsuite-0.9.7-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d2faa31771df2370bcf15855aa403416d14f088d3e81b19de857ea013a697b0 |
|
MD5 | 30f2539a97660e462b1c7f2e00824bbe |
|
BLAKE2b-256 | 42db1d3fcd55d891ee380e00f5362c38ce41dc4d93304db50cb7c41dc8e8d204 |
Hashes for python_crfsuite-0.9.7-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8704a6b7c7c64c4aa158125c89e9e08377a0169e83c75094aa65833b771d3078 |
|
MD5 | 96a136f5af30afaff0828bcf11f2f5d9 |
|
BLAKE2b-256 | 159e28347c80bb682193012bbfca076a4ea46c9e2c39abc1eae0220d6aceae23 |
Hashes for python_crfsuite-0.9.7-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56f34b50049de3127353214af45bc9b437fd6c23202b83abb0b8052d86a248b |
|
MD5 | 6fe5a39eb6f15639e6cdb10d1391ee4b |
|
BLAKE2b-256 | 9599869dde6dbf3e0d07a013c8eebfb0a3d30776334e0097f8432b631a9a3a19 |
Hashes for python_crfsuite-0.9.7-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9934e684ff89ae97be52971c4c127329b1e1604ada9f903c7427a7062f256fc6 |
|
MD5 | e319dfc03d84a30c73a23af39685863c |
|
BLAKE2b-256 | faa1c61fb7968ed362eaab2e37948887171f7824ca4d4085ecce9bc662995c24 |
Hashes for python_crfsuite-0.9.7-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ebb57783a0723d46d82d462fbfd6111e62e48533bfe1fbcd5ffb8dc1ba7a573 |
|
MD5 | cc1427f68f2d609187e1be6f4e021a7d |
|
BLAKE2b-256 | 5f5c883c8513b2417bebd9958660c5edb7c80fa015e6b9bd81c65f2043e47349 |
Hashes for python_crfsuite-0.9.7-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3da774cedf542202533b014347b86fbc25191356f0d5568f9784f8eb77e7ef6 |
|
MD5 | cc1adaa683e8002623c371b72faca622 |
|
BLAKE2b-256 | c0f044bb0a8d2fc9923bee5ae21f02633893b128e9879c9001def9fd95ac0d76 |
Hashes for python_crfsuite-0.9.7-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c9effa3cf7087cfecaa91ccada1ff9998b276bbde285700ef405345890253b1 |
|
MD5 | 24a0b4d51c18734955bef6acd14ac977 |
|
BLAKE2b-256 | ba97277024dd17d3221c178535322ee98a3960de591e63dccdf0679067904789 |
Hashes for python_crfsuite-0.9.7-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b46811138745d9d62ff7674bc7a14a9cc974c065dadfc6f78e0dc19832066ec2 |
|
MD5 | c16f4a9eafe023b7652868a80467a0fa |
|
BLAKE2b-256 | eeecaf3fe505f991df30e7b8f81698f27e13fcb2122e380f22d6909d58fde625 |
Hashes for python_crfsuite-0.9.7-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb57e551d86c83ec6a719c9884c571cb9a9b013a78fe0c317b0677c3c9542965 |
|
MD5 | 76f373b2b4a9242ff5e820670f1d850a |
|
BLAKE2b-256 | 12014bdd6b425c384e3cb72c57296504e1bc22bfcf9cc2f3b220f399a63a9677 |
Hashes for python_crfsuite-0.9.7-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2390c7cf62c72179b96c130048cec981173d3873ded532f739ba5ff770ed2d39 |
|
MD5 | 1da646fbd8bc3bccfb2ba9ea6ec4b877 |
|
BLAKE2b-256 | 92f7227f16a9f854f5cd893fd319af57f755daffa4daf8fe69403e7682486ac8 |
Hashes for python_crfsuite-0.9.7-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d386d3a1e8d2065b4770c0dd06877ac28d7a94f61cd8447af3fa7a49551e98f9 |
|
MD5 | 43cb0fbfa03959b2935c8636fb47b94b |
|
BLAKE2b-256 | 4f27dafcc8b3e8bcd038dd3b462510d8868f6856740492e5d00fa9920b5abe61 |
Hashes for python_crfsuite-0.9.7-cp27-cp27m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd18b340c5a45ec200e8ce1167318dfc5d915ca9aad459dfa8675d014fd30650 |
|
MD5 | d84f9e212ce2a26c9c474ef9c3563aac |
|
BLAKE2b-256 | 38a6edf52ca55ea2dabcf494d8f069c907b82bc11aef0a86d78ae42172ae9c37 |