gnu: Add python2-stemming.

* gnu/packages/python.scm (python2-stemming): New variable.
This commit is contained in:
Julien Lepiller 2017-04-22 14:52:16 +02:00
parent 38a370d2bc
commit 18c2546078
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 23 additions and 0 deletions

View File

@ -14438,3 +14438,26 @@ system) by avoiding unnecessary calls to os.stat() in most cases.")
(define-public python2-scandir (define-public python2-scandir
(package-with-python2 python-scandir)) (package-with-python2 python-scandir))
(define-public python2-stemming
(package
(name "python2-stemming")
(version "1.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stemming" version))
(sha256
(base32 "0ldwa24gnnxhniv0fhygkpc2mwgd93q10ag8rvzayv6hw418frsr"))))
(build-system python-build-system)
(arguments
`(#:python ,python-2))
(home-page "https://bitbucket.org/mchaput/stemming/overview")
(synopsis "Python implementations of various stemming algorithms")
(description
"Python implementations of the Porter, Porter2, Paice-Husk, and Lovins
stemming algorithms for English. These implementations are straightforward and
efficient, unlike some Python versions of the same algorithms available on the
Web. This package is an extraction of the stemming code included in the Whoosh
search engine.")
(license license:public-domain)))