From 1c9f865803f105d2ea69def3ac3759293c765230 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 17 Dec 2017 15:55:53 +0000 Subject: gnu: Add python-textacy. * gnu/packages/python.scm (python-textacy): New variable. --- gnu/packages/python.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f98985e883..37df1c4ed5 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7357,6 +7357,47 @@ the standard library.") (define-public python2-contextlib2 (package-with-python2 python-contextlib2)) +(define-public python-textacy + (package + (name "python-textacy") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "textacy" version)) + (sha256 + (base32 + "04wf3a7zgzz83nmgkh488wkl50zm9yfdpv3sl12sm2zj685plqcz")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) + (propagated-inputs + `(("python-cachetools" ,python-cachetools) + ("python-cytoolz" ,python-cytoolz) + ("python-ftfy" ,python-ftfy) + ("python-ijson" ,python-ijson) + ("python-levenshtein" ,python-levenshtein) + ("python-networkx" ,python-networkx) + ("python-numpy" ,python-numpy) + ("python-pyemd" ,python-pyemd) + ("python-pyphen" ,python-pyphen) + ("python-requests" ,python-requests) + ("python-scikit-learn" ,python-scikit-learn) + ("python-scipy" ,python-scipy) + ("python-spacy" ,python-spacy) + ("python-tqdm" ,python-tqdm) + ("python-unidecode" ,python-unidecode))) + (home-page + "https://github.com/chartbeat-labs/textacy") + (synopsis + "Higher-level text processing, built on spaCy") + (description + "Higher-level text processing, built on spaCy") + (license #f))) + +(define-public python2-textacy + (package-with-python2 python-textacy)) + (define-public python-texttable (package (name "python-texttable") -- cgit v1.2.3