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.

Source Distribution

crfsuite-0.3.0.tar.gz (295.4 kB view details)

Uploaded Source

Built Distributions

crfsuite-0.3.0-py2.py3-none-manylinux2010_x86_64.whl (957.0 kB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.12+ x86-64

crfsuite-0.3.0-py2.py3-none-manylinux2010_i686.whl (1.0 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.12+ i686

crfsuite-0.3.0-py2.py3-none-manylinux1_x86_64.whl (957.0 kB view details)

Uploaded Python 2 Python 3

crfsuite-0.3.0-py2.py3-none-manylinux1_i686.whl (1.0 MB view details)

Uploaded Python 2 Python 3

crfsuite-0.3.0-py2.py3-none-macosx_10_15_x86_64.whl (310.0 kB view details)

Uploaded Python 2 Python 3 macOS 10.15+ x86-64

File details

Details for the file crfsuite-0.3.0.tar.gz.

File metadata

  • Download URL: crfsuite-0.3.0.tar.gz
  • Upload date:
  • Size: 295.4 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

Hashes for crfsuite-0.3.0.tar.gz
Algorithm Hash digest
SHA256 889befcbdef7f75608c944f02cd44c1c4a84ab43cfaf98e43655cd26daaeece3
MD5 5f2f44324240568fe400b0acb9ef00b9
BLAKE2b-256 9ef9c28255030d559316f98614c9afb05c33e987464581f0e4c7c9257ad17241

See more details on using hashes here.

File details

Details for the file crfsuite-0.3.0-py2.py3-none-manylinux2010_x86_64.whl.

File metadata

  • Download URL: crfsuite-0.3.0-py2.py3-none-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 957.0 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

Hashes for crfsuite-0.3.0-py2.py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ae04b80fe086cdda39022429c47f8f05910a32b9c00712f2a1e38acd554d6288
MD5 bb884c0655b92470558df7ea7552ebe3
BLAKE2b-256 b9de99e09a2d9870718997ee6e2ff02b2510db352eec70fbfd1d75bd4260430f

See more details on using hashes here.

File details

Details for the file crfsuite-0.3.0-py2.py3-none-manylinux2010_i686.whl.

File metadata

  • Download URL: crfsuite-0.3.0-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

Hashes for crfsuite-0.3.0-py2.py3-none-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 e9d267e2c39f0a798a14979de48078f7e8ebe4aae037227a52e3a9309c01bf7b
MD5 64fdc1b71101102854bfe7d746e380c1
BLAKE2b-256 176c37ac5e4d29f318947077f0c29e249c30b945e7fff3243c87c6fb55fc2aeb

See more details on using hashes here.

File details

Details for the file crfsuite-0.3.0-py2.py3-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: crfsuite-0.3.0-py2.py3-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 957.0 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

Hashes for crfsuite-0.3.0-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4d4f659e1f9a51ea5efb95d9c97743aa8dad5cbc051fe35e39ea7d263a2d5b50
MD5 87ac7acee676ce543c9161e28ecd65ba
BLAKE2b-256 2cea9eca034e3b3781c823454eab88071dd089cd2560bd1626bf2d77c6665d72

See more details on using hashes here.

File details

Details for the file crfsuite-0.3.0-py2.py3-none-manylinux1_i686.whl.

File metadata

  • Download URL: crfsuite-0.3.0-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

Hashes for crfsuite-0.3.0-py2.py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 3beb7346948c7634e428328598df572c6e989377d763adb5a26dcde426225afd
MD5 8d665abf407e626d169004106d8b9be1
BLAKE2b-256 d77f1b4db897811eb56ac16febeb01badaa0733810fdc590fdc3550dad75e468

See more details on using hashes here.

File details

Details for the file crfsuite-0.3.0-py2.py3-none-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: crfsuite-0.3.0-py2.py3-none-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 310.0 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

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

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page