Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
.. 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_.
Using pip
::
pip install python-crfsuite
Using conda
::
conda install -c conda-forge python-crfsuite
See docs_ and an example_.
.. _docs: http://python-crfsuite.rtfd.org/ .. _example: https://github.com/scrapinghub/python-crfsuite/blob/master/examples/CoNLL%202002.ipynb
sklearn-crfsuite_ is a python-crfsuite wrapper which provides API similar to scikit-learn.
.. _sklearn-crfsuite: https://github.com/TeamHG-Memex/sklearn-crfsuite
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
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
python-crfsuite is licensed under MIT license. CRFsuite_ library is licensed under BSD license.
.. _CRFsuite: https://github.com/chokkan/crfsuite
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.
FAQs
Python binding for CRFsuite
We found that python-crfsuite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.