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.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


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 details)

Uploaded Source

Built Distributions

crfsuite-0.2.9-py2.py3-none-manylinux1_x86_64.whl (810.7 kB view details)

Uploaded Python 2 Python 3

crfsuite-0.2.9-py2.py3-none-manylinux1_i686.whl (849.5 kB view details)

Uploaded Python 2 Python 3

crfsuite-0.2.9-py2.py3-none-macosx_11_0_arm64.whl (296.8 kB view details)

Uploaded Python 2 Python 3 macOS 11.0+ ARM64

crfsuite-0.2.9-py2.py3-none-macosx_10_15_x86_64.whl (226.5 kB view details)

Uploaded Python 2 Python 3 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: crfsuite-0.2.9.tar.gz
  • Upload date:
  • Size: 336.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for crfsuite-0.2.9.tar.gz
Algorithm Hash digest
SHA256 7e6b8ec42875a0faa6b7394dc15d977173ed66a5a8b9891e101ec9cee99f2268
MD5 988129b368035d7a46fadadf2dd90f8d
BLAKE2b-256 d79366e9b283e724a762abcc5238f5d3886ca93f79a5897259a051832c0dd9f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crfsuite-0.2.9-py2.py3-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 810.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for crfsuite-0.2.9-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e4a6a9c8c45fb911b81d36363b92d1f813def8b74951c8266f46a0cdb3a28403
MD5 086d8222908264a9c0da57bb963f70d7
BLAKE2b-256 bb384a0d7a3675798a080e312ad3bfd8d8005cbcad3f27e87047d22259a017f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crfsuite-0.2.9-py2.py3-none-manylinux1_i686.whl
  • Upload date:
  • Size: 849.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for crfsuite-0.2.9-py2.py3-none-manylinux1_i686.whl
Algorithm Hash digest
SHA256 28b4b5eea0435bf64f53ea5775329a79889c4b553927c06fbac64a59abd3a493
MD5 8beaa9d52a13c974486490f77c6746e4
BLAKE2b-256 57d4e32a41e089301f45e3854f483500ee4ee7fc8935388319c7b37bd18bc1f9

See more details on using hashes here.

File details

Details for the file crfsuite-0.2.9-py2.py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: crfsuite-0.2.9-py2.py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 296.8 kB
  • Tags: Python 2, Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for crfsuite-0.2.9-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0117a64723f62cf8318dd61759331930080bad8bd43806eb08e22a67db7acb98
MD5 928da00defde18602a5947280275a7ea
BLAKE2b-256 63b1f4071dd31460228e25e5a08910a484269c4a12b5518d14bbe3bf6b3b1761

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crfsuite-0.2.9-py2.py3-none-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 226.5 kB
  • Tags: Python 2, Python 3, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

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

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