Skip to main content

Python binding for crfsuite

Project description

crfsuite-rs

Rust Python codecov Crates.io docs.rs PyPI

Rust binding to crfsuite

Installation

Add it to your Cargo.toml:

[dependencies]
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"])
    print(tagged)

License

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.0.tar.gz (295.4 kB view hashes)

Uploaded Source

Built Distributions

crfsuite-0.3.0-py2.py3-none-manylinux2010_x86_64.whl (957.0 kB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.12+ x86-64

crfsuite-0.3.0-py2.py3-none-manylinux2010_i686.whl (1.0 MB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.12+ i686

crfsuite-0.3.0-py2.py3-none-manylinux1_x86_64.whl (957.0 kB view hashes)

Uploaded Python 2 Python 3

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

Uploaded Python 2 Python 3

crfsuite-0.3.0-py2.py3-none-macosx_10_15_x86_64.whl (310.0 kB view hashes)

Uploaded Python 2 Python 3 macOS 10.15+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page