https://github.com/scrapinghub/python-crfsuite

A python binding for crfsuite

https://github.com/scrapinghub/python-crfsuite

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 28 committers (7.1%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.0%) to scientific vocabulary

Keywords

crf crfsuite data-science

Keywords from Contributors

distributed tensor deep-neural-networks recommendation autograd agents transformation cryptocurrencies shellcode systemd
Last synced: 9 months ago · JSON representation

Repository

A python binding for crfsuite

Basic Info
  • Host: GitHub
  • Owner: scrapinghub
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 1.05 MB
Statistics
  • Stars: 773
  • Watchers: 32
  • Forks: 221
  • Open Issues: 48
  • Releases: 4
Topics
crf crfsuite data-science
Created about 12 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License

README.rst

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

.. image:: https://github.com/scrapinghub/python-crfsuite/actions/workflows/tests.yml/badge.svg
    :target: https://github.com/scrapinghub/python-crfsuite/actions/workflows/tests.yml

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

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

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  and
Mikhail Korobov . 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.
* https://github.com/bosondata/crfsuite-rs - uses a Rust wrapper with CFFI instead of C++ API;
  allows to tag with GIL released for better performance.

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.

Owner

  • Name: Scrapinghub
  • Login: scrapinghub
  • Kind: organization
  • Location: The Internet

Turn web content into useful data

GitHub Events

Total
  • Watch event: 4
  • Fork event: 3
  • Create event: 1
Last Year
  • Watch event: 4
  • Fork event: 3
  • Create event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 295
  • Total Committers: 28
  • Avg Commits per committer: 10.536
  • Development Distribution Score (DDS): 0.417
Past Year
  • Commits: 18
  • Committers: 4
  • Avg Commits per committer: 4.5
  • Development Distribution Score (DDS): 0.278
Top Committers
Name Email Commits
Mikhail Korobov k****4@g****m 172
Forest Gregg f****g@d****s 52
Jean Cochrane j****n@j****m 26
tpeng p****o@g****m 10
Gerrit Kieffer k****t@g****m 6
Elijah Rippeth e****h@m****g 2
Lucy Wang w****7@g****m 2
Michael Karcher g****b@m****e 2
Rolando Espinoza r****4@g****m 2
Your Name y****u@e****m 2
kantan2015 w****u@i****l 2
Chandra Rentachintala c****a@a****m 1
Terry Peng t****g@y****m 1
gsh25 g****n@y****u 1
Andrew Herbig n****g@g****m 1
Bernhard M. Wiedemann b****n@s****e 1
Christian Bundy c****n@t****m 1
Christian Clauss c****s@m****m 1
Franck Dernoncourt f****t@g****m 1
James Hilliard j****1@g****m 1
Jesse Dunietz y****h@g****m 1
Kevin Wang w****1@q****m 1
Nils Werner n****r@g****m 1
Shreyas Karnik s****k@r****m 1
Stephen Fuhry f****e@g****m 1
Tom Bocklisch t****h@s****m 1
dependabot[bot] 4****] 1
messense m****e@i****m 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 73
  • Total pull requests: 40
  • Average time to close issues: 9 months
  • Average time to close pull requests: 6 months
  • Total issue authors: 69
  • Total pull request authors: 24
  • Average comments per issue: 2.82
  • Average comments per pull request: 1.88
  • Merged pull requests: 24
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 3
  • Pull requests: 5
  • Average time to close issues: about 2 months
  • Average time to close pull requests: about 2 months
  • Issue authors: 3
  • Pull request authors: 4
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.6
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • tisdall (2)
  • ctrado18 (2)
  • zsfc (2)
  • adrienball (2)
  • theasder (1)
  • huwen2117 (1)
  • KEDSARAMAY (1)
  • seandenigris (1)
  • bergen288 (1)
  • xuchen (1)
  • CisterMoke (1)
  • napsternxg (1)
  • peblair (1)
  • PKU-YYang (1)
  • mikekestemont (1)
Pull Request Authors
  • fgregg (10)
  • karcherm (4)
  • kmike (3)
  • cclauss (3)
  • Gerrit-K (3)
  • chunwyu-lexion (2)
  • dependabot[bot] (2)
  • erip (2)
  • odidev (2)
  • nils-werner (1)
  • GregBowyer (1)
  • wannaphong (1)
  • kvinwang (1)
  • uwaisiqbal (1)
  • danmacnaughtan (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (2)

Packages

  • Total packages: 4
  • Total downloads:
    • pypi 3,101,949 last-month
  • Total docker downloads: 41,028,698
  • Total dependent packages: 31
    (may contain duplicates)
  • Total dependent repositories: 1,552
    (may contain duplicates)
  • Total versions: 38
  • Total maintainers: 5
pypi.org: python-crfsuite

Python binding for CRFsuite

  • Versions: 25
  • Dependent Packages: 23
  • Dependent Repositories: 1,548
  • Downloads: 3,101,949 Last month
  • Docker Downloads: 41,028,698
Rankings
Downloads: 0.3%
Dependent repos count: 0.3%
Docker downloads count: 0.5%
Dependent packages count: 0.7%
Average: 1.2%
Stargazers count: 2.3%
Forks count: 3.4%
Maintainers (4)
Last synced: 9 months ago
conda-forge.org: python-crfsuite
  • Versions: 7
  • Dependent Packages: 8
  • Dependent Repositories: 2
Rankings
Dependent packages count: 7.1%
Forks count: 12.1%
Average: 13.5%
Stargazers count: 14.6%
Dependent repos count: 20.3%
Last synced: 10 months ago
spack.io: py-python-crfsuite

python-crfsuite is a python binding to CRFsuite.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 6.9%
Stargazers count: 8.8%
Average: 18.2%
Dependent packages count: 57.3%
Maintainers (1)
Last synced: 9 months ago
anaconda.org: python-crfsuite

python-crfsuite is a python binding to CRFsuite.

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 2
Rankings
Forks count: 22.2%
Stargazers count: 26.3%
Average: 37.2%
Dependent repos count: 48.9%
Dependent packages count: 51.2%
Last synced: 10 months ago

Dependencies

requirements-doc.txt pypi
  • numpydoc *
.github/workflows/build_and_upload.yml actions
  • actions/checkout v3 composite
  • actions/checkout v2 composite
  • actions/download-artifact v3 composite
  • actions/upload-artifact v3 composite
  • pypa/cibuildwheel v2.3.1 composite
  • pypa/gh-action-pypi-publish v1.5.0 composite
.github/workflows/tests.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
setup.py pypi