mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: Add go-github-com-blevesearch-snowballstem.
* gnu/packages/golang-xyz.scm (go-github-com-blevesearch-snowballstem): New variable. Change-Id: I2a85558ac7400ad2352d2db2efea38bebdb1965e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
07019c1485
commit
86f1576c9e
@@ -3405,6 +3405,37 @@ processing. It's an alternative fork of
|
||||
@url{https://github.com/kljensen/snowball}.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-blevesearch-snowballstem
|
||||
(package
|
||||
(name "go-github-com-blevesearch-snowballstem")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/blevesearch/snowballstem")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1yzglihjjn588xmmkaawqhc95pkk1cyc4bq7ipw7jqfw2np1f2rm"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/blevesearch/snowballstem"))
|
||||
(home-page "https://github.com/blevesearch/snowballstem")
|
||||
(synopsis "Go stemmers generated by the Snowball project")
|
||||
(description
|
||||
"This package provides Go stemmers generated by the
|
||||
@url{https://github.com/snowballstem/snowball, Snowball} project.
|
||||
|
||||
All these stemmers export a single @code{Stem()} method which operates on a
|
||||
snowball @code{Env} structure. The @code{Env} structure maintains all state
|
||||
for the stemmer. A new Env is created to point at an initial string. After
|
||||
stemming, the results of the @code{Stem()} operation can be retrieved using
|
||||
the @code{Current()} method. The @code{Env} structure can be reused for
|
||||
subsequent calls by using the @code{SetCurrent()} method.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public go-github-com-bmatcuk-doublestar
|
||||
(package
|
||||
(name "go-github-com-bmatcuk-doublestar")
|
||||
|
||||
Reference in New Issue
Block a user