Python binding for crfsuite
Project description
crfsuite-rs
Rust binding to crfsuite
Installation
Add it to your Cargo.toml
:
[dependencies]
crfsuite = "0.2"
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
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
crfsuite-0.2.9.tar.gz
(336.6 kB
view hashes)
Built Distributions
Close
Hashes for crfsuite-0.2.9-py2.py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a6a9c8c45fb911b81d36363b92d1f813def8b74951c8266f46a0cdb3a28403 |
|
MD5 | 086d8222908264a9c0da57bb963f70d7 |
|
BLAKE2b-256 | bb384a0d7a3675798a080e312ad3bfd8d8005cbcad3f27e87047d22259a017f3 |
Close
Hashes for crfsuite-0.2.9-py2.py3-none-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b4b5eea0435bf64f53ea5775329a79889c4b553927c06fbac64a59abd3a493 |
|
MD5 | 8beaa9d52a13c974486490f77c6746e4 |
|
BLAKE2b-256 | 57d4e32a41e089301f45e3854f483500ee4ee7fc8935388319c7b37bd18bc1f9 |
Close
Hashes for crfsuite-0.2.9-py2.py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0117a64723f62cf8318dd61759331930080bad8bd43806eb08e22a67db7acb98 |
|
MD5 | 928da00defde18602a5947280275a7ea |
|
BLAKE2b-256 | 63b1f4071dd31460228e25e5a08910a484269c4a12b5518d14bbe3bf6b3b1761 |
Close
Hashes for crfsuite-0.2.9-py2.py3-none-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14086a69abf8e0580bc92deb3ccd621362f31175c33d5fc4526cabe77f33eca6 |
|
MD5 | 882c792ddd9ada1dafb7fc7373f85238 |
|
BLAKE2b-256 | e3f64781939911d1083038e3fa1e3bc0f963015de83d98a93ca8d8405617351a |