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.2-py3.4-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | fec89d09f1bea2bd57b6a32785a233c483b70e7bf86652699670416546d784ba |
|
MD5 | b009bd98f8b193662d499246d15c809b |
|
BLAKE2b-256 | 80d62dcd3eee07897ce206ac1ce74a4a3c56e8d314337010ac7b28a7088a6efd |
Hashes for python_crfsuite-0.9.2-py3.4-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c173ef24d7f7538f73f24a80e1b5c54eb94c6d3a982de2cde95d9addb871483 |
|
MD5 | d3e9b4256a7d236a2c03ebed9c5299f5 |
|
BLAKE2b-256 | ea6e050d100f797cae95e07a0188ccd533b06176704a1fb15da533a8d840a5a9 |
Hashes for python_crfsuite-0.9.2-py3.3-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5bc3c39bc4f6f1baf5bde2dec3b8e9a7610b6ba1905c6a22dc47237555fcfa4 |
|
MD5 | 5d85335a2f98f5a8fc921234651c600f |
|
BLAKE2b-256 | 0246f0ee7d8f2ea6b6ad76a4c4ff964906adf8460fca3e2120ad4015d2c76d89 |
Hashes for python_crfsuite-0.9.2-py3.3-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42421fd85b14ab73d11b90579d72ba83adfa5af9094bfce474b03e9707c3caae |
|
MD5 | 994a6021b863d658c587485545628953 |
|
BLAKE2b-256 | d5de4a9403c9bb28dbb8dd57bc58cc1eaeb5221e40433e3d6bbb87818845f444 |
Hashes for python_crfsuite-0.9.2-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac0a5260c65533ca3ee99b360a13e23f5f65d7228aecaf1122caecd0c51586f7 |
|
MD5 | c4420310a5e9dbed91c3997bf7027cfa |
|
BLAKE2b-256 | 95d4111f291c8a991dc6541dfbec24601bfffa07f2e6db8172a381bb3650642e |
Hashes for python_crfsuite-0.9.2-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 633e8655ac6f589cde142af9c61627687814e1a08148398537ef41ee32701d29 |
|
MD5 | 07f120208e1257980e6acf43e46fb771 |
|
BLAKE2b-256 | 0af077b2812fc46a4e6e7c7f9f7c815b15b3b7a215af9c0262c12c0f3a567115 |
Hashes for python_crfsuite-0.9.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a894c07957abbb153ae3aac3a691e082163d0431c5c5cb5302edad80758043b |
|
MD5 | 18b32fcd87d0d2fcbdbf700e96754ffa |
|
BLAKE2b-256 | 64c9772d75bce000b747da6f33b6b0fcb6d10b1e6bd251091809366b99bf3982 |
Hashes for python_crfsuite-0.9.2-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bafe27c5f7afd3871f3ce2e76efc2eab62141d7637cf055083f8cf186f35ceff |
|
MD5 | ec97cbbb8d2175aa3e6d32030c260cae |
|
BLAKE2b-256 | 67453f68499888daab4882ace31c93ff944ac15e8a5bcf73af1e9ba329c5810a |
Hashes for python_crfsuite-0.9.2-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83dbd84eb8a0d1d2bc8cd72638dbb3c6fdf759a5ad3b64a8185651b3ad2a3df |
|
MD5 | 6abe3d5fcd7f44bf6063d12d73d938ee |
|
BLAKE2b-256 | b4173e826b203b2373bc3991513e7705d494fa1eeb42e02a121d0ddb92ffca6a |
Hashes for python_crfsuite-0.9.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 929200266c22b4baf710c966fad50bca0874b1fe2f3ea27b7bb7db90cd5402b4 |
|
MD5 | 839ee00a3238e1da2e94d8153e9b0e7c |
|
BLAKE2b-256 | bdadf67a2ea7c2e68807a7a8f9f1a1bd7074412c377ce7af4288a5ca494b1226 |
Hashes for python_crfsuite-0.9.2-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3f76e415a6b20bb652941e88274a629d800e3e76bd873bbcf787430a64908fd |
|
MD5 | 792516ffc288f917ec19bc622b042bb4 |
|
BLAKE2b-256 | c1d81d659ec7135f450fd022c5edbcddc248e35e8180e8ea7d6506a235265ff0 |
Hashes for python_crfsuite-0.9.2-cp35-cp35m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a61b1f18de2e78f54d6008fa5eeaf02f11a1225a34bd5de4538cbe6b94b97610 |
|
MD5 | 2247cc5734e9eb1bc41664027649f537 |
|
BLAKE2b-256 | 3b423974728d858ddad11dc57f8a1ed95bc61e7421ce0aba362e9cf6485e0d8c |
Hashes for python_crfsuite-0.9.2-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 906be90b0b8695aa34dd92e69a4b3e837975cc8265bc4ae980fe1d9c6e964d31 |
|
MD5 | bd99f2ed724c7fbe9e107a722590c5bf |
|
BLAKE2b-256 | 8b5bb2de2e6776161a1de1b1a672830a232f18cb1dc872233458d0ea529d1d89 |
Hashes for python_crfsuite-0.9.2-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c388bd294a678969518b574ad034560fcd770e5a41b94884ebf844a51263d7d |
|
MD5 | 079f118a2928a5172a4a882f74693cdf |
|
BLAKE2b-256 | 9621b8cd24652ed5b3b387c1b0b1975d102d8fcbfd539f08b94d386987ed0a63 |
Hashes for python_crfsuite-0.9.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62d07edf91e81231cd1abd5a23aa1a9381060139a24c9e5398b82ef5c5a439fa |
|
MD5 | d2587e2a5dc41bc4ec7cf16930ba94ef |
|
BLAKE2b-256 | b8d8f8099d1d34686594c5ad26d0da6facc6e334b1b5da639fb919270843ba88 |
Hashes for python_crfsuite-0.9.2-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9875553ac1a7193e22584f121e570853072242fbd5b3351a4945bc79e8f8e7d |
|
MD5 | 99d65ee36e2c0e54b8ce42a90c7918db |
|
BLAKE2b-256 | 1291d16a9e2d5b289df15a3c48a65a95eae10b45a553e7861a0dac7f4dcec092 |
Hashes for python_crfsuite-0.9.2-cp34-cp34m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9b134b5f69b7d3167c411c73e34383e802938953f1876c67b2eeac6ccb07803 |
|
MD5 | 1ba89ed1799839972833ce7b5d301cc9 |
|
BLAKE2b-256 | b24a63c34f46d6eda24fd5d451b081fb7dc2af23088d1d429178ef9c7c589050 |
Hashes for python_crfsuite-0.9.2-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca0bf2e3e9973968c9ea4d21ebf09927e6405f48c58f99e42f53a006942aff83 |
|
MD5 | b529835894aca6367baed82ad70f67ca |
|
BLAKE2b-256 | 404729854c9acef3309542bd55a6c0bc28abd28883b4261339a8aa1c9854c276 |
Hashes for python_crfsuite-0.9.2-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 581ad67f824f214c2ebb5aa2096773b5fea52d531951b46d183cdea47c0c01e3 |
|
MD5 | 3be41dfae7a04fde6d58562239cff772 |
|
BLAKE2b-256 | b4eaaa3077c008414f2ac9754afb34100fa2e0c7e87a67f268710954b042bb16 |
Hashes for python_crfsuite-0.9.2-cp33-cp33m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d36a78919fe3fd2eaf0543d02797aaf4d5f4b18cebecc2fe241df64ecc6ac18 |
|
MD5 | ff402e680222c030b083f2a8495d92cd |
|
BLAKE2b-256 | 82207611b9dda5bd1af48fffa172561cd1d07fcbc723825f79d91f1408543a8a |
Hashes for python_crfsuite-0.9.2-cp33-cp33m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb827463f4a379719f5582d29bc84a6f1d91483ca71989b091616f8b0655d73c |
|
MD5 | 4355281f471eac6283685de760898af8 |
|
BLAKE2b-256 | 124940f7de5a51e3dac7e7fdae0b0e981b4fcc50558ced5dddbbb4d371cb4f02 |
Hashes for python_crfsuite-0.9.2-cp33-cp33m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d02e465671949e259077b9595ae8adbcca4c7062255be3cdbbb8779abb5c0196 |
|
MD5 | 49d3ba028dd81fc9b27818a43f5201a9 |
|
BLAKE2b-256 | 0d69cce7e102ae948baa564cc498903e348a1179c4ce954e78cf34b68dc409d7 |
Hashes for python_crfsuite-0.9.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d76b517c34e7941c8eba80d33e86688acfd487bd0ecb06f9312f256a0f89827 |
|
MD5 | c429a66d4a5357d627b36ba18e935c23 |
|
BLAKE2b-256 | c2621c2febc5565c704c951eb789e233e8a30dbc7aa427b86f1eb8e7ed91900c |
Hashes for python_crfsuite-0.9.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9e6afe6da02cb58bc5cb445f0dd664a4bc94cbace5560f3f4f900cd01255845 |
|
MD5 | 3430f02acf0837c8952714d9a7730a1d |
|
BLAKE2b-256 | 276b8b26da93e339064d4f9992046883bbcbbf3648bde3dbc57badc0b0633423 |
Hashes for python_crfsuite-0.9.2-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab597669f167e082c72928904d62db8d8c7ba4a4dc8219874541d3acd1087746 |
|
MD5 | 14fd0d8b3da94876fbb7d0953a349f44 |
|
BLAKE2b-256 | 63a048b13816f5b80199df9b3be52c24d2f38f9b7c306f0480263716b3773698 |
Hashes for python_crfsuite-0.9.2-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1418a5e51ebec771f736de58bfe106cb7c67479c6a1bfb45e4c22f28467a76ed |
|
MD5 | ea756e235c08c803d5aadda2e9125f08 |
|
BLAKE2b-256 | 6430938fdfade4b662da4a74035670151630b5ae9b09a78a3664f8dd7a9184f3 |
Hashes for python_crfsuite-0.9.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25681e88c269e25eaefed89bf6e7ddd6ce6f758493bb9347d1b0de70a8ec63f9 |
|
MD5 | 238440b94105c2b34a45a801253396ff |
|
BLAKE2b-256 | a73144ba0acc4718a26ebcfc9ba3617d2b2fb9084298e9f249a578ae0ce1b48d |
Hashes for python_crfsuite-0.9.2-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 581b4670ee7a413f2b28f338f2b1c7c960fd1d5ad13a35766eb853e5b7866956 |
|
MD5 | 39d506cf0c9be294c11e04dce3c43630 |
|
BLAKE2b-256 | a2bf5d6ebd68b4c47dac41bfd315d53dbf06ec58708d6787ebb0408427728739 |
Hashes for python_crfsuite-0.9.2-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a6e57f4b54c9b12f6765f13d6077e483a80a6d8e93a94766a57d6253ba1b985 |
|
MD5 | a0e4d7cf6551dedba9fb25a062dcbe16 |
|
BLAKE2b-256 | b69b6601c48e5111ceaed53dc2dd8b3b89a468c8086501e442d4ce5f16a6b519 |