py-seqeval: new package (#24486)

This commit is contained in:
Jen Herting 2021-06-25 08:35:00 -04:00 committed by GitHub
parent 25522b5c9c
commit 03f54ea4bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,23 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PySeqeval(PythonPackage):
"""seqeval is a Python framework for sequence labeling
evaluation. seqeval can evaluate the performance of
chunking tasks such as named-entity recognition,
part-of-speech tagging, semantic role labeling and so on."""
homepage = "https://github.com/chakki-works/seqeval"
pypi = "seqeval/seqeval-1.2.2.tar.gz"
version('1.2.2', sha256='f28e97c3ab96d6fcd32b648f6438ff2e09cfba87f05939da9b3970713ec56e6f')
depends_on('python@2.6:2.999,3.3:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.14:', type=('build', 'run'))
depends_on('py-scikit-learn@0.21.3:', type=('build', 'run'))