Skip to main content

Python binding for CRFsuite wih openmp build

Project description

===============
python-crfsuite-openmp
===============

.. image:: https://travis-ci.org/bratao/python-crfsuite.svg?branch=master
:target: https://travis-ci.org/bratao/python-crfsuite

.. image:: https://img.shields.io/pypi/v/python-crfsuite-openmp.svg?style=flat-square
:target: https://pypi.python.org/pypi/python-crfsuite-openmp
:alt: pypi Version


python-crfsuite-open is fork of python-crfsuite with OpenMP support enabled, a (Even more) FAST sequential tagger

Installation
============

Using ``pip``::

pip install python-crfsuite

Using ``conda``::

conda install -c conda-forge python-crfsuite

Usage
=====

See docs_ and an example_.

.. _docs: http://python-crfsuite.rtfd.org/
.. _example: https://github.com/scrapinghub/python-crfsuite/blob/master/examples/CoNLL%202002.ipynb

See Also
========

sklearn-crfsuite_ is a python-crfsuite wrapper which provides
API similar to scikit-learn.

.. _sklearn-crfsuite: https://github.com/TeamHG-Memex/sklearn-crfsuite

Contributing
============

* Source code: https://github.com/scrapinghub/python-crfsuite
* Issue tracker: https://github.com/scrapinghub/python-crfsuite/issues

Feel free to submit ideas, bugs reports, pull requests or regular patches.

In order to run tests, install Cython_ (> 0.24.1) and tox_, then type

::

./update_cpp.sh; tox

from the source checkout.

Please don't commit generated cpp files in the same commit as other files.

.. _Cython: http://cython.org/
.. _tox: http://tox.testrun.org

Authors and Contributors
========================

Original authors are Terry Peng <pengtaoo@gmail.com> and
Mikhail Korobov <kmike84@gmail.com>. Many other people contributed;
some of them can be found at github Contributors_ page.

Bundled CRFSuite_ C/C++ library is by Naoaki Okazaki & contributors.

.. _Contributors: https://github.com/scrapinghub/python-crfsuite/graphs/contributors

License
=======

python-crfsuite is licensed under MIT license.
CRFsuite_ library is licensed under BSD license.

.. _CRFsuite: https://github.com/chokkan/crfsuite

Alternatives
============

* https://github.com/chokkan/crfsuite/tree/master/swig/python - official
Python wrapper, exposes C++ API using SWIG.
* https://github.com/jakevdp/pyCRFsuite - uses C API instead of C++ API;
allows to use scipy sparse matrices as an input. At the time of writing
it is unmaintained.

This package (python-crfsuite) wraps CRFsuite C++ API using Cython.
It is faster than official SWIG wrapper and has a simpler codebase than
a more advanced pyCRFsuite. python-crfsuite works in Python 2 and Python 3,
doesn't have external dependencies (CRFsuite is bundled, numpy/scipy stack
is not needed) and workarounds some of the issues with C++ CRFsuite library.


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-crfsuite-openmp-1.0.0.tar.gz (612.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_crfsuite_openmp-1.0.0-cp37-cp37m-win_amd64.whl (165.4 kB view details)

Uploaded CPython 3.7mWindows x86-64

File details

Details for the file python-crfsuite-openmp-1.0.0.tar.gz.

File metadata

  • Download URL: python-crfsuite-openmp-1.0.0.tar.gz
  • Upload date:
  • Size: 612.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for python-crfsuite-openmp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 92724ed67e045034c11bd899cb7915c0d1dda27c7befb394b88ac4865176d8cd
MD5 3243b62cb68bfd821bf84705492bbaf6
BLAKE2b-256 aefd2d48b790224022c2560c5762a76f4c18ac04d7481bf9e6a4411426af06cf

See more details on using hashes here.

File details

Details for the file python_crfsuite_openmp-1.0.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: python_crfsuite_openmp-1.0.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 165.4 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for python_crfsuite_openmp-1.0.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1899a43cefb769a53f739d7cc5f586148a0821bd174511fc5de500cc2ad8bf78
MD5 7d9d636576dd60179ba8febf903135a5
BLAKE2b-256 d9b3b19424ae484b6af2cb8164707c1b965c63923981b0c16da7f1044b9781ff

See more details on using hashes here.

Supported by

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