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.0.tar.gz
(295.4 kB
view hashes)
Built Distributions
Close
Hashes for crfsuite-0.3.0-py2.py3-none-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae04b80fe086cdda39022429c47f8f05910a32b9c00712f2a1e38acd554d6288 |
|
MD5 | bb884c0655b92470558df7ea7552ebe3 |
|
BLAKE2b-256 | b9de99e09a2d9870718997ee6e2ff02b2510db352eec70fbfd1d75bd4260430f |
Close
Hashes for crfsuite-0.3.0-py2.py3-none-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9d267e2c39f0a798a14979de48078f7e8ebe4aae037227a52e3a9309c01bf7b |
|
MD5 | 64fdc1b71101102854bfe7d746e380c1 |
|
BLAKE2b-256 | 176c37ac5e4d29f318947077f0c29e249c30b945e7fff3243c87c6fb55fc2aeb |
Close
Hashes for crfsuite-0.3.0-py2.py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d4f659e1f9a51ea5efb95d9c97743aa8dad5cbc051fe35e39ea7d263a2d5b50 |
|
MD5 | 87ac7acee676ce543c9161e28ecd65ba |
|
BLAKE2b-256 | 2cea9eca034e3b3781c823454eab88071dd089cd2560bd1626bf2d77c6665d72 |
Close
Hashes for crfsuite-0.3.0-py2.py3-none-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3beb7346948c7634e428328598df572c6e989377d763adb5a26dcde426225afd |
|
MD5 | 8d665abf407e626d169004106d8b9be1 |
|
BLAKE2b-256 | d77f1b4db897811eb56ac16febeb01badaa0733810fdc590fdc3550dad75e468 |
Close
Hashes for crfsuite-0.3.0-py2.py3-none-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3d5c7929de4f1c07e4a61534a3a16ce06063e862df55b94f27d2aef5ba4292 |
|
MD5 | 4ce1ce930edc1dbd297425fded69d44c |
|
BLAKE2b-256 | 6aef07ff144de9810cfd44ba17acdce7e5045a165c1bac1f8bc9a6e1cda20bf2 |