Python binding for CRFsuite
Project description
python-crfsuite is a python binding to CRFsuite.
Installation
pip install python-crfuite
Usage
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 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/jakevdp/pyCRFsuite - uses C API instead of C++ API; allows to use scipy sparse matrices as an input.
https://github.com/chokkan/crfsuite/tree/master/swig/python - official Python wrapper, exposes C++ API using SWIG.
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
File details
Details for the file python-crfsuite-0.3.tar.gz.
File metadata
- Download URL: python-crfsuite-0.3.tar.gz
- Upload date:
- Size: 350.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c422d7ec4b15f1cd5953e3980bdbc3a219f860233dc3dc2cf8edeb6a2ff3a956
|
|
| MD5 |
bcc86de30b10353e62c6ea53f448bbe4
|
|
| BLAKE2b-256 |
f45a7c5750c24b484eb86f2b7408cca756fbaf48c45d656369eb141fbe57a589
|