[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48091] [PATCH 06/11] gnu: Add python-nltk@3.4.
From: |
Raghav Gururajan |
Subject: |
[bug#48091] [PATCH 06/11] gnu: Add python-nltk@3.4. |
Date: |
Wed, 28 Apr 2021 19:19:29 -0400 |
* gnu/packages/python-xyz.scm (python-nltk-3.4): New variable.
---
gnu/packages/python-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7e8f0c911c..16f2055339 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15061,6 +15061,21 @@ 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
+ (string-append "https://github.com/nltk/nltk/"
+ "archive/refs/tags/" version ".tar.gz"))
+ (sha256
+ (base32 "1d2cqbc1k6qgd27vfhgd3isn7wknqsgp50vx67m29zd6wgmxq9px"))))))
+
(define-public python2-nltk
(package-with-python2 python-nltk))
--
2.31.1
- [bug#48091] [PATCH 0/11]: TgCli, Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 01/11] gnu: Add python-colorful., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 02/11] gnu: Add python-yaspin., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 05/11] gnu: python-nltk: Add missing inputs., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 06/11] gnu: Add python-nltk@3.4.,
Raghav Gururajan <=
- [bug#48091] [PATCH 04/11] gnu: python-nltk: Update to 3.6.2., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 07/11] gnu: Add python-lunr., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 08/11] gnu: Add python-mkdocs., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 09/11] gnu: Add python-pymdown-extensions., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 03/11] gnu: Add python-pytest-click., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 10/11] gnu: Add python-mkdocs-material., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH 11/11] gnu: Add tgcli., Raghav Gururajan, 2021/04/28
- [bug#48091] [PATCH v2 01/11] gnu: Add python-colorful., Raghav Gururajan, 2021/04/30