Python binding for crfsuite
Project description
crfsuite-rs
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
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.3.1.tar.gz
(295.8 kB
view hashes)
Built Distributions
Close
Hashes for crfsuite-0.3.1-py2.py3-none-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1693bc90a0aa38da43fa870d1c8d1617b033b89601363968ed03f16f1ea31fb |
|
MD5 | c94b531c826e2a61971c2173771f25ce |
|
BLAKE2b-256 | 3d676f3dcec5cbf140468921c8c8139edcc9940ddc90ff45f76b5411cf3f66c8 |
Close
Hashes for crfsuite-0.3.1-py2.py3-none-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 275da2b77a34babd1f9cc3bbfa1acb539268a8a80c3c325360a24aeb6043b6b7 |
|
MD5 | 3bf43e0a5b5eb4a3392ffc0f00d50b3d |
|
BLAKE2b-256 | b7c6d8bb38cfa1ba1f47b9ca055c28353ee44f7583d36eac0c75e426574d7872 |
Close
Hashes for crfsuite-0.3.1-py2.py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f19c7840a7b3d5ab771b76b248a3a1e0db861de4609fdcd48308ae4e8bfa8887 |
|
MD5 | facf25df2cec08745de7dbb2e2c610e6 |
|
BLAKE2b-256 | f0f9d3e7aaec3e53b714d369d74325345ae3c43c430362b290ecdf3de95a7106 |
Close
Hashes for crfsuite-0.3.1-py2.py3-none-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e24d46c1b2d01a2948cd62652854321c1860b03df93a0e70f1c2591182ebe53c |
|
MD5 | ab88c1e1a73c097831180c52392f84f9 |
|
BLAKE2b-256 | 1912e14cebf9fdb284ab22badd0fcdf9b424d10d049b3898521053514c0f81c2 |
Close
Hashes for crfsuite-0.3.1-py2.py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b755021308c4b92ac6dd24852092a8d05ec197977fe9f259caec5ce30f30766 |
|
MD5 | dd6e6da6e5be478b773f20cf4380c304 |
|
BLAKE2b-256 | 0dcaa89c475a0b88ed6766f4edc683f6d16560c3c3757c23815e93d6bbc7dbaa |
Close
Hashes for crfsuite-0.3.1-py2.py3-none-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9335a81b00ea004d2da108882f762a3b6a6dfdcf6a0832c63138aa35f53bbc86 |
|
MD5 | e01a29156dbde1f059bee2e9643637d4 |
|
BLAKE2b-256 | 18e8656e07382235d1deb66c0b72f8744e76cfdd56b855a312638aa7c1b0084e |