Skip to main content

Python binding for crfsuite

Project description


Rust Python codecov PyPI

Rust binding to crfsuite


Add it to your Cargo.toml:

crfsuite = "0.3"

Add extern crate crfsuite to your crate root and your're good to go!

Python package

There is also a Python package named crfsuite, you can install it via pip:

pip install -U crfsuite

Usage example:

from crfsuite import Model

if __name__ == '__main__':
    model = Model('path/to/crfsuite/model.crf')
    tagged = model.tag(["abc", "def"])


This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crfsuite-0.3.1.tar.gz (295.8 kB view hashes)

Uploaded source

Built Distributions

crfsuite-0.3.1-py2.py3-none-manylinux1_x86_64.whl (957.4 kB view hashes)

Uploaded py2 py3

crfsuite-0.3.1-py2.py3-none-manylinux1_i686.whl (1.0 MB view hashes)

Uploaded py2 py3

crfsuite-0.3.1-py2.py3-none-macosx_11_0_arm64.whl (314.2 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page