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.

Files for crfsuite, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size crfsuite-0.3.1-py2.py3-none-macosx_10_15_x86_64.whl (310.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size crfsuite-0.3.1-py2.py3-none-manylinux1_i686.whl (1.0 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size crfsuite-0.3.1-py2.py3-none-manylinux1_x86_64.whl (957.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size crfsuite-0.3.1-py2.py3-none-manylinux2010_i686.whl (1.0 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size crfsuite-0.3.1-py2.py3-none-manylinux2010_x86_64.whl (957.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size crfsuite-0.3.1.tar.gz (295.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page