python-crfsuite

A python binding for crfsuite

Github星跟踪图

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

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

.. image:: https://ci.appveyor.com/api/projects/status/uaq4sw8tc0oojr4v?svg=true
:target: https://ci.appveyor.com/project/kmike/python-crfsuite-mhi5h

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

.. image:: https://anaconda.org/conda-forge/python-crfsuite/badges/version.svg
:target: https://anaconda.org/conda-forge/python-crfsuite
:alt: conda Version

python-crfsuite is a python binding to CRFsuite_.

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

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

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.

主要指标

概览
名称与所有者scrapinghub/python-crfsuite
主编程语言Python
编程语言Python (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2014-04-13 07:26:21
推送于2024-10-01 16:14:45
最后一次提交2024-10-01 11:52:35
发布数28
最新版本名称0.9.11 (发布于 )
第一版名称0.1 (发布于 2014-04-30 06:07:52)
用户参与
星数771
关注者数32
派生数221
提交数346
已启用问题?
问题数100
打开的问题数45
拉请求数44
打开的拉请求数3
关闭的拉请求数17
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?