From 06030db5a60814d8139992166ff1c62f413c6fbe Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 17 Dec 2017 15:48:41 +0000 Subject: gnu: Add python-thinc. * gnu/packages/machine-learning.scm (python-thinc, python2-thinc): New variable. --- gnu/packages/machine-learning.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 12384a1031..2376cf8b2c 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -155,6 +155,43 @@ classification.") `(("python" ,python))) (synopsis "Python bindings of libSVM"))) +(define-public python-thinc + (package + (name "python-thinc") + (version "6.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "thinc" version)) + (sha256 + (base32 + "094j7zphpbb1i2qqi4z965q08w08vs08n42d1gykq21nkg45iy48")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) + (propagated-inputs + `(("python-msgpack" ,python-msgpack) + ("python-msgpack-numpy" ,python-msgpack-numpy) + ("python-numpy", python-numpy) + ("python-wrapt" ,python-wrapt) + ("python-murmurhash" ,python-murmurhash) + ("python-cymem" ,python-cymem) + ("python-preshed" ,python-preshed) + ("python-tqdm" ,python-tqdm) + ("python-cytoolz" ,python-cytoolz) + ("python-plac" ,python-plac) + ("python-dill" ,python-dill) + ("python-termcolor" ,python-termcolor) + ("python-pathlib" ,python-pathlib))) + (home-page "https://github.com/explosion/thinc") + (synopsis "Practical Machine Learning for NLP") + (description + "Practical Machine Learning for NLP") + (license license:expat))) + +(define-public python2-thinc + (package-with-python2 python-thinc)) + (define-public ghmm ;; The latest release candidate is several years and a couple of fixes have ;; been published since. This is why we download the sources from the SVN -- cgit v1.2.3