diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-05-08 22:20:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 22:20:38 -0500 |
commit | 790e9ac6de65ff5e8701aec3d89fab5ad86f02de (patch) | |
tree | 5ddfeab49c8d04d50d86e6766d7bcd79bfd0c55e | |
parent | 4c42946201652832bb6dac3599e3242a2582350c (diff) | |
download | spack-790e9ac6de65ff5e8701aec3d89fab5ad86f02de.tar.gz spack-790e9ac6de65ff5e8701aec3d89fab5ad86f02de.tar.bz2 spack-790e9ac6de65ff5e8701aec3d89fab5ad86f02de.tar.xz spack-790e9ac6de65ff5e8701aec3d89fab5ad86f02de.zip |
spaCy: add new package for en_core_web_sm model (#16539)
-rw-r--r-- | var/spack/repos/builtin/packages/py-spacy-models-en-core-web-sm/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-spacy-models-en-core-web-sm/package.py b/var/spack/repos/builtin/packages/py-spacy-models-en-core-web-sm/package.py new file mode 100644 index 0000000000..8911958663 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-spacy-models-en-core-web-sm/package.py @@ -0,0 +1,17 @@ +# Copyright 2013-2020 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) + + +class PySpacyModelsEnCoreWebSm(PythonPackage): + """English multi-task CNN trained on OntoNotes. Assigns context-specific + token vectors, POS tags, dependency parse and named entities.""" + + homepage = "https://spacy.io/models/en#en_core_web_sm" + url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.5/en_core_web_sm-2.2.5.tar.gz" + + version('2.2.5', sha256='60b69065c97fd2e4972c33300205e1dead3501d2e0bfd6a182c3a033e337caee') + + depends_on('py-setuptools', type='build') + depends_on('py-spacy@2.2.2:', type=('build', 'run')) |