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
Built Distributions
File details
Details for the file crfsuite-0.3.1.tar.gz
.
File metadata
- Download URL: crfsuite-0.3.1.tar.gz
- Upload date:
- Size: 295.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af5b5d83a1eb7c8e41b52963535273142d376737874770d1ed65a20428bcb18d |
|
MD5 | b00e46eddd46689885cd000ddee4bff4 |
|
BLAKE2b-256 | f73e43633d694fad9d6c924df344a0f45ad01cb8db835947600e38a3d0bde175 |
File details
Details for the file crfsuite-0.3.1-py2.py3-none-manylinux2010_x86_64.whl
.
File metadata
- Download URL: crfsuite-0.3.1-py2.py3-none-manylinux2010_x86_64.whl
- Upload date:
- Size: 957.4 kB
- Tags: Python 2, Python 3, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1693bc90a0aa38da43fa870d1c8d1617b033b89601363968ed03f16f1ea31fb |
|
MD5 | c94b531c826e2a61971c2173771f25ce |
|
BLAKE2b-256 | 3d676f3dcec5cbf140468921c8c8139edcc9940ddc90ff45f76b5411cf3f66c8 |
File details
Details for the file crfsuite-0.3.1-py2.py3-none-manylinux2010_i686.whl
.
File metadata
- Download URL: crfsuite-0.3.1-py2.py3-none-manylinux2010_i686.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 275da2b77a34babd1f9cc3bbfa1acb539268a8a80c3c325360a24aeb6043b6b7 |
|
MD5 | 3bf43e0a5b5eb4a3392ffc0f00d50b3d |
|
BLAKE2b-256 | b7c6d8bb38cfa1ba1f47b9ca055c28353ee44f7583d36eac0c75e426574d7872 |
File details
Details for the file crfsuite-0.3.1-py2.py3-none-manylinux1_x86_64.whl
.
File metadata
- Download URL: crfsuite-0.3.1-py2.py3-none-manylinux1_x86_64.whl
- Upload date:
- Size: 957.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f19c7840a7b3d5ab771b76b248a3a1e0db861de4609fdcd48308ae4e8bfa8887 |
|
MD5 | facf25df2cec08745de7dbb2e2c610e6 |
|
BLAKE2b-256 | f0f9d3e7aaec3e53b714d369d74325345ae3c43c430362b290ecdf3de95a7106 |
File details
Details for the file crfsuite-0.3.1-py2.py3-none-manylinux1_i686.whl
.
File metadata
- Download URL: crfsuite-0.3.1-py2.py3-none-manylinux1_i686.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e24d46c1b2d01a2948cd62652854321c1860b03df93a0e70f1c2591182ebe53c |
|
MD5 | ab88c1e1a73c097831180c52392f84f9 |
|
BLAKE2b-256 | 1912e14cebf9fdb284ab22badd0fcdf9b424d10d049b3898521053514c0f81c2 |
File details
Details for the file crfsuite-0.3.1-py2.py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: crfsuite-0.3.1-py2.py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 314.2 kB
- Tags: Python 2, Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b755021308c4b92ac6dd24852092a8d05ec197977fe9f259caec5ce30f30766 |
|
MD5 | dd6e6da6e5be478b773f20cf4380c304 |
|
BLAKE2b-256 | 0dcaa89c475a0b88ed6766f4edc683f6d16560c3c3757c23815e93d6bbc7dbaa |
File details
Details for the file crfsuite-0.3.1-py2.py3-none-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: crfsuite-0.3.1-py2.py3-none-macosx_10_15_x86_64.whl
- Upload date:
- Size: 310.1 kB
- Tags: Python 2, Python 3, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9335a81b00ea004d2da108882f762a3b6a6dfdcf6a0832c63138aa35f53bbc86 |
|
MD5 | e01a29156dbde1f059bee2e9643637d4 |
|
BLAKE2b-256 | 18e8656e07382235d1deb66c0b72f8744e76cfdd56b855a312638aa7c1b0084e |