summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 10:11:27 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-17 13:03:50 -0500
commit30c400446c9f1e57582faf1d469afe0af2614511 (patch)
treeb198c27da864f3ade2bbdc02588720f88801b106 /gnu/packages
parent95d2eec1a8b6d8a5803a6911bec5d9f38951337b (diff)
downloadguix-30c400446c9f1e57582faf1d469afe0af2614511.tar.gz
gnu: Add Lingua-Stem-Snowball-Da.
* gnu/packages/language.scm (perl-lingua-stem-snowball-da): New
  variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/language.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index ae972f961f..69c41c0a31 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -21,6 +21,7 @@
   #:use-module (gnu packages perl)
   #:use-module (guix packages)
   #:use-module (guix build-system perl)
+  #:use-module ((guix licenses) #:select (gpl2))
   #:use-module (guix download))
 
 (define-public perl-lingua-en-findnumber
@@ -208,3 +209,23 @@ parameters, returning the stemmed Italian word.")
     (description "This module applies the Porter Stemming Algorithm to its
 parameters, returning the stemmed Russian (KOI8-R only) word.")
     (license (package-license perl))))
+
+(define-public perl-lingua-stem-snowball-da
+  (package
+    (name "perl-lingua-stem-snowball-da")
+    (version "1.01")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/C/CI/CINE/"
+                           "Lingua-Stem-Snowball-Da-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0mm0m7glm1s6i9f6a78jslw6wh573208arxhq93yriqmw17bwf9f"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Lingua-Stem-Snowball-Da")
+    (synopsis "Porters stemming algorithm for Danish")
+    (description "Lingua::Stem::Snowball::Da is a perl port of the danish
+stemmer at http://snowball.sourceforge.net, it was originally altered from the
+Lingua::Stem::Snowball::Se.")
+    (license gpl2)))