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/tpeng/python-crfsuite
Issue tracker: https://github.com/tpeng/python-crfsuite/issues
Feel free to submit ideas, bugs reports, pull requests or regular patches.
In order to run tests, install Cython (> 0.20.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-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 504e1af4242ec6f05dc000941ed6166e2718b9a3e11c7adcaaeb7db51a5fc158 |
|
MD5 | c9706dda605218a45b74de018292c776 |
|
BLAKE2b-256 | 4bc1231e5f589579714300eeac96aa3c006df3518f26aa9624fe4e85ae7e2c76 |
Hashes for python_crfsuite-0.9-py3.4-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fc7a314f63b4f5eb2077c1a1116f41b5e0977595c294710875d8b6774c20048 |
|
MD5 | 0a5622e1fc2433025a091f8a9b2854fe |
|
BLAKE2b-256 | e4ae022957eb8c78ca4e53349ed3ad5abb09b482d97ca9e8b0a16333149b5f2a |
Hashes for python_crfsuite-0.9-py3.3-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec8bcc742f8b7978c258016cfa944a5103ee4334fb8b3dba5c7be37643f317fa |
|
MD5 | 497c882e6f9880d521efb5b939225548 |
|
BLAKE2b-256 | 0b49102e9f53a959fb7cbad4677df8a507ca27324dc3029b1dab53d055189d20 |
Hashes for python_crfsuite-0.9-py3.3-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | de81b77d134514791d683ae33d7fec82290b8a69f6079a37b0846d8fd15ae161 |
|
MD5 | 246ae81123fa8a32dfbe105ff0a3c001 |
|
BLAKE2b-256 | cad83f2c27015f622ba9cf670545a2a95df3f6130f96b2bfed25ada63e6bdfb1 |
Hashes for python_crfsuite-0.9-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 033665481a33393dd0e099a471cee5e400b30c57a7413490599709bb25e80a8b |
|
MD5 | 6adb58426e22d3a11e086827ed4aefff |
|
BLAKE2b-256 | c191c43ddc353507661eadf9236458738ce6c0081461ac920613b685b56830fd |
Hashes for python_crfsuite-0.9-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dd4085e10c3342106d3b7b53c319adee93156240612a9c8fc097ef14ca8a54b |
|
MD5 | 6549428ea23154ab3e249c9557cfe927 |
|
BLAKE2b-256 | ebf4b19f9cb4155170eed16c2c75ccc6aecbaec09d44abd7596606c363707067 |
Hashes for python_crfsuite-0.9-cp35-cp35m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb7f883f5bbbdeee55992a709997e64fb171198d6739b72184102095c9fb41dc |
|
MD5 | d72a7828a29c53ce05b62230947f5132 |
|
BLAKE2b-256 | a610ff25691ad106b0cb877cfe3fa5e617d683c41e0d566d7ed294b5a9a3b9a4 |
Hashes for python_crfsuite-0.9-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60980a4a74b44faee334a191f756c39d1b1966cb30168d22b22d4343e6ac2b98 |
|
MD5 | 467b13dd06df1fb3da4fddb661e72bee |
|
BLAKE2b-256 | 67c9bc8dd1eeb5be67a8bd2bf812d1eb7a7066a8dcd793df39e059c246168390 |
Hashes for python_crfsuite-0.9-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfbc7550197b64851f5d2a0f0184260fe8bf2ebbc576b211555d838c478e8e71 |
|
MD5 | d03efe2e8bee96c3c6ef10112e696b19 |
|
BLAKE2b-256 | 54cf8db4491e87a1d812c82256b7cf68234a0bb1cc67d7d40e55a8c3c52648cc |
Hashes for python_crfsuite-0.9-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a1d6b6cb152b27755d14d9338b8d428ab91df7e99a4c8a6cb7a1e5047ef62b |
|
MD5 | cbb0f678e7bd0b97090916f20723a1c7 |
|
BLAKE2b-256 | a1c7a3d10462f4df162c296d6a7fcf0e10c0d97ddd88d54b125ccccff03943a9 |
Hashes for python_crfsuite-0.9-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a24b69f39981d0b2de59e94280c33e5b7011e405f5c1b18db9748a9db75068b5 |
|
MD5 | d7b44e593253f26bf3012017cb3ab507 |
|
BLAKE2b-256 | 9a9e998269aec5e466751ae10b26f4029f7132526d63883802c3d0828849886b |
Hashes for python_crfsuite-0.9-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d1b5e2613505568b3cf2857d55658bae7138478a330c2167aa3a9cfd1d6106 |
|
MD5 | 1d13ea206fd311f3508fa1c3e7bcba13 |
|
BLAKE2b-256 | 6edd1e16b7d95930544dd7120b230db3027cb47aed120d666c254ccab865811b |
Hashes for python_crfsuite-0.9-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18ace713b1f48a57cdb3f2e0bfbfdcde909f5ef26fdfad2c424ffad0eff5ae93 |
|
MD5 | 4a596bf7e39a3d25da8a842b233bbf3c |
|
BLAKE2b-256 | ca09cd0ab36457224f879a020bdabae104b156b43349a4bca5e3f8a9ee24abb1 |
Hashes for python_crfsuite-0.9-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eba053a954d7e645ee7588acd59beb1180b4975a1b2ba50add7aa0a4177359c8 |
|
MD5 | e13abee4a04220f9823ce26f3c643f33 |
|
BLAKE2b-256 | 0e6b7e4c1feb74312b05b35aaba72dcf02ccfa9c3e73965862412e4a08ebdd1a |
Hashes for python_crfsuite-0.9-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd35858bf3a03ec229acbcdd1296cd9d546aceb327e4de5c0a984d572e5c9a98 |
|
MD5 | 5e80e388643025fa0ca48b468a9767db |
|
BLAKE2b-256 | a5d2b639ab49ec61eae01e66f3eb5361db31fa36cf2a0d5075f92c72a92ae6bc |