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.5-py3.6-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 770c8e6b42f4c13e8da0294a8fee9e2bab813b57198b9514da2497f86c95373d |
|
MD5 | cb89e4f3d9348fdcabe9243658b15515 |
|
BLAKE2b-256 | 60a6adb2f3083c5084714623837764dfd665e02549920fe3549052d20ad8aa83 |
Hashes for python_crfsuite-0.9.5-py3.6-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73ee6493ee1fbec9e597e220d018629302f30a06590b2155c3b07e893ae9f3bd |
|
MD5 | c96aa6056a3dd0dc8f5d98ff49c3372e |
|
BLAKE2b-256 | d80f3996cd2a6e7307b0f0e7e175db30eb77f29e53de8c7a29c71db050f460f9 |
Hashes for python_crfsuite-0.9.5-py3.5-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 349d3c0f1cb2e395a7064e96701329d794b09d42c4c9177d2a3e3bd9e0e6635e |
|
MD5 | 6119bcf0828c08d576eac0fdb6f185c2 |
|
BLAKE2b-256 | b280e20db2bc9eb49fe91922f2f209c990dc20acede361c7405b4ad0cb2f85c9 |
Hashes for python_crfsuite-0.9.5-py3.5-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2be069bd54907c457f8067fec28b38bef01019c19f6200d25e987213bcb66e1c |
|
MD5 | b84c58a0033283df8f696729907159bb |
|
BLAKE2b-256 | a53d24794602548275c90d9ec4995700ca4869dee0f0f3a5d09453c482f2ae41 |
Hashes for python_crfsuite-0.9.5-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f7d97ecd1de01583bf07bd610363f0497118dc059770285966561188a2f8579 |
|
MD5 | e0aaef6eb2bbeea41f94a9e33f91c6cf |
|
BLAKE2b-256 | 22faf8d8a95d4385227e103c611436c821fe9a00095302b06094d92209f1336e |
Hashes for python_crfsuite-0.9.5-py3.4-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2248ee8004e8b182b58e933530f42dc294965be6b1141a30a27f55b7cff24015 |
|
MD5 | 90d50b0175567229f9420e75518ef6fd |
|
BLAKE2b-256 | 023ddaabe0ec6c8b17ecc4e939b4e410400e300f3d626a15e0ac064b40c232d8 |
Hashes for python_crfsuite-0.9.5-py3.3-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | fea98866dd9cf8e1cb6f0053a1ef04497c0f56f54beda985f1a9dae83fb85594 |
|
MD5 | f2ed41dc5d0ddebc95ae7dc7f82b0e01 |
|
BLAKE2b-256 | ea4e96e428021810ecd00beba86fbc71de666fc20bb0ef732c61dc885f7d3212 |
Hashes for python_crfsuite-0.9.5-py3.3-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f23a2184a4a455300b80e9c8f7604cf02ee882004472b163f5506d11754ff2a |
|
MD5 | 6a99326de03952173e1858eb30708041 |
|
BLAKE2b-256 | 9de45f378844bed3862fdf8061b6d699fb771664181eb8c32c1b6f9d050bf401 |
Hashes for python_crfsuite-0.9.5-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | e91e424479ccec0038b44d5c83d60925c3d6e456018371cc2964625172e7eb64 |
|
MD5 | 4cf80f030736c17eb2ae2112ce7283e9 |
|
BLAKE2b-256 | f7fc92bd003b7181dbf07c858ff26bf36ef847fe0ddfdbd6901aabb1e676d34b |
Hashes for python_crfsuite-0.9.5-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c9415ce3e3e9d13e4df67c5fd4044d94039c4dec0f7e8446a303c2ea2356bf |
|
MD5 | 9213b7b06ea54ce335735d73275eae9b |
|
BLAKE2b-256 | 601e9438cfcbc558bb56512bd48684ae7d1b4692a2ea41ae8321501453eca472 |
Hashes for python_crfsuite-0.9.5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e18d89a1996306bf44341b55dd5cda2afa5a6aeeb4ebb99240b26bce1e89bd2 |
|
MD5 | 928788a42eb06dad42d1f54a606033b9 |
|
BLAKE2b-256 | ed0a1b3d68eb9acbe1d11a367d8b39610c60d184c0ca106126766d47bcad90f4 |
Hashes for python_crfsuite-0.9.5-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e1cdceca173cf73360220737648acf87244c1ae98eebf9f41d7a86035d4eaac |
|
MD5 | cfb19b4a9e12892093dc96fc604b9b5b |
|
BLAKE2b-256 | 1d6fd4c55409ece6fd67d1ac31f080f13d212cb51ccd723f9af445a612b089c1 |
Hashes for python_crfsuite-0.9.5-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba43d4b1ccf1b1eb67a8adbfae788f3498e21997124010ad0f819dad3cf8b1d |
|
MD5 | f7f6ca9a670a2e2ba09ea2951385884a |
|
BLAKE2b-256 | 1b3252ca5b15b2d2568a0fc95ad736d1367e84b34647a16dc945cad64d591c49 |
Hashes for python_crfsuite-0.9.5-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9daca96ada19b79353a022d77f38225a1dedfb632d6107a4846f8c1b5ace88a2 |
|
MD5 | 3d65152f6b2c7745440d0ac3290a978f |
|
BLAKE2b-256 | 51b99e597b2e27c50f2b5f27706caeda8ebcc0a466338cd59a09ee8c3f3c6a20 |
Hashes for python_crfsuite-0.9.5-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e419b441ba39716f1b9095dc3ed7adf3115611504d8933e973a7036ccef4168f |
|
MD5 | 715cacc55ab1a4be1dc969806d821833 |
|
BLAKE2b-256 | bd587f5429058000fe6b6aa367d0de4aaabbd5e32218a48b9f40ec9f22745df5 |
Hashes for python_crfsuite-0.9.5-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10d84507d96d2870fba053d6659170113675762745e715befe0d9671d8988098 |
|
MD5 | ca6a83b16ab58edbfb3796470ce38312 |
|
BLAKE2b-256 | ecf3c7b47f6b20dad846a745e0eae39859a63ecddccf282130bec9f48fe86821 |
Hashes for python_crfsuite-0.9.5-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af63e6ed7635e5180bf278d0bd967097dcb295e0a58ba815a1c29d179479bfae |
|
MD5 | 10e7e89b9a8e790ee5a2e715496873da |
|
BLAKE2b-256 | fa61d7195693e44b64be473d677fb6291b867fef9bbac2a275cbe76a13419672 |
Hashes for python_crfsuite-0.9.5-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7861c9c7635e868c67914e77ccf757e096387edf676f78425aa05b2f8b32ced7 |
|
MD5 | 3c7f0b6d407362908a6b5c3015f3ea1d |
|
BLAKE2b-256 | 7785ef11a4bd550170b9e3b23655730e700012006d6e9523bd664b8ba68aaccb |
Hashes for python_crfsuite-0.9.5-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 607f4276025b2217e326e6c9161308fb2ad7f881665bfff072dbedae6cdc9cf8 |
|
MD5 | b1ae51fee013ce5b2f602849f277bdeb |
|
BLAKE2b-256 | b44b06bd686d3d4757520b51d84b7d790cf42038f322a0f254fdcf50d9a9de97 |
Hashes for python_crfsuite-0.9.5-cp35-cp35m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96d0041722bfd9649b4f31971c25941cd9c01d4cbd4f774ba886ac6f77092f0b |
|
MD5 | e254dc9651a6eba07203851660a3fa73 |
|
BLAKE2b-256 | d0072a37b2c5bd73f8204da8723f274f1e47722b583d63c4e6e4f1b8ffd92e5f |
Hashes for python_crfsuite-0.9.5-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c8b6a7bc194ca189db8cae6991d7fba0e1612c5c44297b989364e096a12a03 |
|
MD5 | 14a24d1941af9f9c304088b355125364 |
|
BLAKE2b-256 | 8f375065a478adae51c62f1bc78e4943528bf0f225bf3a2ef3f608f9c37289b9 |
Hashes for python_crfsuite-0.9.5-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7b73325a5b345d10b78018d6ca123c6348825c82f3670a169143050d087ee65 |
|
MD5 | 7f32b26bec2589743cd7085d79896600 |
|
BLAKE2b-256 | 3d9a8c51ceaa40d0fb39136e941b1988d13e039630f11e5053a76c1fc18ba3c3 |
Hashes for python_crfsuite-0.9.5-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7643090e8e068ca25b5525d81a61d001e6594f6fa62452a1cb536e238b23c99 |
|
MD5 | 86b14e1536301d1962c883984b2b9e5a |
|
BLAKE2b-256 | d21ec0a7a1a0b39c7184dcb1799fb0d461da58aa8d5f64077531f0f088ad2118 |
Hashes for python_crfsuite-0.9.5-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c03fe809957eaf9333816f52dd497678a013ee918c502a7a529b191ef19c694 |
|
MD5 | 82b017c46d7d2a4a896cfb5cd8766b2a |
|
BLAKE2b-256 | e86500d208132f3c3d6de551180ed89e2c0f4d2fe14dca63718f746861c39521 |
Hashes for python_crfsuite-0.9.5-cp34-cp34m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c52d38b7180e19b6f5430eb76ae6fb160a5be2f5630834ea71d592bc5bff3671 |
|
MD5 | 1961306898bbc703662044d21738364a |
|
BLAKE2b-256 | 7c2efd8975ec96fff71665a08eb94c751f20cb7007425011af7d304c7c6addb8 |
Hashes for python_crfsuite-0.9.5-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 942aa72793dad1f9b0d65991b4386e385c4bf9248d2072e0e058f6cbb41e15dc |
|
MD5 | f094127ef7c0051683612ad41ae48a26 |
|
BLAKE2b-256 | e2d97c70b4efd7cd4b60da050664158c700935b587c2201a3e6cda937bfe5a97 |
Hashes for python_crfsuite-0.9.5-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8d191eac2c7a395a74ceade0e58eea0ad5de823200b7b995ecab29295cf027b |
|
MD5 | 95a6f1a10e441e735a33c3e89d7c8874 |
|
BLAKE2b-256 | 3c70010fbb9f681a5db17abb5001e63224af7fc6272a6b8b6d7e757761c66a7f |
Hashes for python_crfsuite-0.9.5-cp33-cp33m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ad7395dcce74fd07fc031f1e6c1160ff7b43ea343129caa77fb8d8afe7e2ecb |
|
MD5 | 970e47b7a963f3d30ed423ef794c1d4a |
|
BLAKE2b-256 | 11f5c1ef46a858b2431fed1f6681176af77998054debf9788a9aba7d1f39532d |
Hashes for python_crfsuite-0.9.5-cp33-cp33m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19882b03d26abe075c280f3450829f520a36d17a050621e48109094ea94f4965 |
|
MD5 | c4a5581844dd6f8c2589b01cebc89983 |
|
BLAKE2b-256 | d58ef0cf353cab6c6b698de64ad5d0e21cdc60919905c655ddf5f2d0cfbf846e |
Hashes for python_crfsuite-0.9.5-cp33-cp33m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 968f8597f5df1ec54c5e72ce50775118a09f3c5737962e058f94a83da30d2a68 |
|
MD5 | 1bf2cb966412c768fdf9412ba70e578c |
|
BLAKE2b-256 | 4eef14ea8ccd770a80544ece0cc4074640f4e7c801591e9b89746b1d13ed0f23 |
Hashes for python_crfsuite-0.9.5-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c94030f625e8139a41528d546c4b41cc223ee28f301af5d780eda10dcc96364c |
|
MD5 | b865b246dbfd217aef989781cdc94ca6 |
|
BLAKE2b-256 | ccbacf73e1c7baaa87d63945455be03316916204eff4c7f9d59744d509290a00 |
Hashes for python_crfsuite-0.9.5-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4ce2830fd0d8ec037deefe662633935fa4a4cccc8647ac0515181c939c2184a |
|
MD5 | cd5b841a2b00a2886c99947297087e1a |
|
BLAKE2b-256 | b651ed66ba05de34158ff495d411de8f673a68830398724fd41b67f4edc85b09 |
Hashes for python_crfsuite-0.9.5-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 470220d0f4be28769505c5cd8e2854ee25d748bc38d70f42811832031f245273 |
|
MD5 | adbf0087e1c75da191aefa003f4ce076 |
|
BLAKE2b-256 | f34f3dce4f64a1835183619f98808100e665e41845caa17d416c0e87c05566be |
Hashes for python_crfsuite-0.9.5-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b656eee39d0fdea760285b574c5517d309f943be98d87e42425d332cdf687ca |
|
MD5 | d1870b422e8d7c88cb2880831fbb4529 |
|
BLAKE2b-256 | f2de7484f152dc48bf6afc6b91ef5ee6449faadd973f1d4313a04ef26a4c1824 |
Hashes for python_crfsuite-0.9.5-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd3b5d73ca86928410473be4d3246730263a36fb0afd355f4ddec450ec5f881b |
|
MD5 | 2c73067922af12f50d69c93e58f68666 |
|
BLAKE2b-256 | 888b8cf69ebba7a4ac4538d2f5df4bd817ddb2058bd477a53380d8d6bb4dc6c0 |
Hashes for python_crfsuite-0.9.5-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73b57919711499d2ff32843a28b2a6c17487630ba255a6aa4a093ee0a7f3b1fa |
|
MD5 | 5651568949b65d9163637877e4e44ac4 |
|
BLAKE2b-256 | 60ea968e61dbddd45509e3385c1ad52028cc8779483c8dedf5575cb0ec6ef965 |
Hashes for python_crfsuite-0.9.5-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b36da634400dd1557bb947ddf009e6328e7ef76332054f6484e8cec6993b86e |
|
MD5 | 56f95cf22ac7a9f6ec2a94f61f627084 |
|
BLAKE2b-256 | 12f8d93f709a04408a022a42d685b3c4ce4daee0bcb7da8bcb1b856b7b9a3f71 |