python-crfsuite
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.
Metadata
Release files for python-crfsuite-openmp 0.9.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-crfsuite-openmp-0.9.8.tar.gz | 612.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_crfsuite_openmp-0.9.8-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
Total release size: 777.5 kB
Release files / python-crfsuite-openmp-0.9.8.tar.gz
| Download URL | python-crfsuite-openmp-0.9.8.tar.gz |
|---|---|
| Size | 612.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27bba0668cfc9b0d8588ff422971a4a461902162eedb022cda8c59ba8320e99f
|
|
BLAKE2b-256 checksum How to use checksums |
c90c935cfd5ab5d25155d4c9d60747b170c513a0098f196685ecdb56bfd64658
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / python_crfsuite_openmp-0.9.8-cp37-cp37m-win_amd64.whl
| Download URL | python_crfsuite_openmp-0.9.8-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 165.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
191b5d0426979665bc22b7ddb0adfffda344c8fdb1c8b1364657c7f6e628a14b
|
|
BLAKE2b-256 checksum How to use checksums |
25b0280701dabefe3ec746b26c035c3b56e5cf0bcddd0620424eb47cefec447d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|