summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 10:19:36 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-17 13:03:50 -0500
commit1064abdc4204dde473dce7bd8f5b3ca8756e72f9 (patch)
treeab56b08075fe9b75dfa6d497f91393ffb001fdc9 /gnu
parent30c400446c9f1e57582faf1d469afe0af2614511 (diff)
downloadguix-1064abdc4204dde473dce7bd8f5b3ca8756e72f9.tar.gz
gnu: Add Snowball-Norwegian.
* gnu/packages/language.scm (perl-snowball-norwegian): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/language.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 69c41c0a31..efc96d8830 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -229,3 +229,22 @@ parameters, returning the stemmed Russian (KOI8-R only) word.")
 stemmer at http://snowball.sourceforge.net, it was originally altered from the
 Lingua::Stem::Snowball::Se.")
     (license gpl2)))
+
+(define-public perl-snowball-norwegian
+  (package
+    (name "perl-snowball-norwegian")
+    (version "1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/A/AS/ASKSH/"
+                           "Snowball-Norwegian-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0675v45bbsh7vr7kpf36xs2q79g02iq1kmfw22h20xdk4rzqvkqx"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Snowball-Norwegian")
+    (synopsis "Porters stemming algorithm for Norwegian")
+    (description "Lingua::Stem::Snowball::No is a perl port of the norwegian
+stemmer at http://snowball.tartarus.org.")
+    (license (package-license perl))))