1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 03:20:43 +02:00

gnu: Add python-nltk@3.4.

* gnu/packages/python-xyz.scm (python-nltk-3.4): New variable.
This commit is contained in:
Raghav Gururajan 2021-04-28 17:59:39 -04:00
parent e0f74524a1
commit edc946dde3
No known key found for this signature in database
GPG key ID: 5F5816647F8BE551

View file

@ -15075,6 +15075,19 @@ for classification, tokenization, stemming, tagging, parsing, and semantic
reasoning, wrappers for natural language processing libraries.")
(license license:asl2.0)))
;; Versions >=3.5 breaks backward-compatibility,
;; so we keep version 3.4.x around for a while.
(define-public python-nltk-3.4
(package
(inherit python-nltk)
(version "3.4.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "nltk" version ".zip"))
(sha256
(base32 "153x2clrnigs74jdgnn3qmljdjj4gprmvpdvh49i18ls4m8mbm5y"))))))
(define-public python2-nltk
(package-with-python2 python-nltk))